diff options
author | holyfoot/hf@hfmain.(none) <> | 2007-07-27 22:43:33 +0500 |
---|---|---|
committer | holyfoot/hf@hfmain.(none) <> | 2007-07-27 22:43:33 +0500 |
commit | 37dece087e249e6a22d21ae68ebae4a0559e4d25 (patch) | |
tree | 5b32826bab6d3dc94b70e85c621bbf3ff46e5035 /sql/item.h | |
parent | 07acfcf55700c9d52c264c3d25002c6485e4b29d (diff) | |
parent | 03dfd986d744e60c32d29cd227840131f43a0bab (diff) | |
download | mariadb-git-37dece087e249e6a22d21ae68ebae4a0559e4d25.tar.gz |
Merge mysql.com:/home/hf/work/29878/my50-29878
into mysql.com:/home/hf/work/29878/my51-29878
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item.h b/sql/item.h index 432da6c3a1c..5f4e0117d02 100644 --- a/sql/item.h +++ b/sql/item.h @@ -653,6 +653,7 @@ public: int save_time_in_field(Field *field); int save_date_in_field(Field *field); + int save_str_value_in_field(Field *field, String *result); virtual Field *get_tmp_table_field() { return 0; } /* This is also used to create fields in CREATE ... SELECT: */ @@ -2293,7 +2294,10 @@ public: my_decimal *val_decimal(my_decimal *); void make_field(Send_field *field) { item->make_field(field); } void copy(); - int save_in_field(Field *field, bool no_conversions); + int save_in_field(Field *field, bool no_conversions) + { + return save_str_value_in_field(field, &str_value); + } table_map used_tables() const { return (table_map) 1L; } bool const_item() const { return 0; } bool is_null() { return null_value; } |