23 #include <plugin/utility_functions/functions.h>
24 #include <drizzled/display.h>
29 namespace utility_functions
34 return static_cast<int64_t
>(args[0]->field_type());
42 const std::string &tmp= display::type(args[0]->field_type());
43 str->copy(tmp.c_str(), tmp.length(), system_charset_info);
48 void Typeof::fix_length_and_dec()
50 max_length= display::type(args[0]->field_type()).size() * system_charset_info->mbmaxlen;
String * val_str(String *)
TODO: Rename this file - func.h is stupid.