22 #include <drizzled/function/func.h>
23 #include <drizzled/lex_string.h>
30 Item_result m_cached_result_type;
37 m_cached_result_type(STRING_RESULT),
41 enum Functype functype()
const {
return GUSERVAR_FUNC; }
42 str_ref get_name() {
return name; }
47 void fix_length_and_dec();
49 enum Item_result result_type()
const;
54 const char *func_name()
const {
return "get_user_var"; }
58 bool eq(
const Item *item,
bool binary_cmp)
const;
virtual void print(String *str)
TODO: Rename this file - func.h is stupid.
table_map used_tables() const
String * val_str(String *str)
type::Decimal * val_decimal(type::Decimal *)
bool eq(const Item *item, bool binary_cmp) const