~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/float.cc

Merge Monty - Added inter-plugin dependencies for controlling plugin load order

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include <config.h>
21
 
 
 
20
#include "config.h"
22
21
#include <math.h>
23
 
 
24
22
#include <drizzled/error.h>
25
 
#include <drizzled/field.h>
26
 
#include <drizzled/item/float.h>
27
23
#include <drizzled/item/num.h>
28
24
#include <drizzled/item/string.h>
 
25
#include <drizzled/item/float.h>
29
26
 
30
27
namespace drizzled
31
28
{
32
29
 
33
 
extern const charset_info_st *system_charset_info;
 
30
extern const CHARSET_INFO *system_charset_info;
34
31
 
35
32
static uint32_t nr_of_decimals(const char *str, const char *end)
36
33
{
121
118
}
122
119
 
123
120
 
124
 
void Item_float::print(String *str)
 
121
void Item_float::print(String *str, enum_query_type)
125
122
{
126
123
  if (presentation)
127
124
  {
154
151
  return false;
155
152
}
156
153
 
157
 
Item *Item_static_float_func::safe_charset_converter(const charset_info_st * const)
 
154
Item *Item_static_float_func::safe_charset_converter(const CHARSET_INFO * const)
158
155
{
159
156
  Item_string *conv;
160
157
  char buf[64];