diff options
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 835b1c7547d..618a6f56bcf 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -35,16 +35,6 @@ public: double val(); enum Item_result result_type () const { return STRING_RESULT; } void left_right_max_length(); - Field *tmp_table_field(TABLE *t_arg) - { - if (!t_arg) - return result_field; - return ((max_length > 255) ? - (Field *) new Field_blob(max_length, maybe_null, name, t_arg, - binary) : - (Field *) new Field_string(max_length, maybe_null, name, t_arg, - binary)); - } unsigned int size_of() { return sizeof(*this);} }; @@ -60,6 +50,7 @@ public: unsigned int size_of() { return sizeof(*this);} }; + class Item_func_sha :public Item_str_func { public: |