diff options
author | hf@deer.(none) <> | 2004-03-23 17:58:55 +0400 |
---|---|---|
committer | hf@deer.(none) <> | 2004-03-23 17:58:55 +0400 |
commit | 87612b52942fc18590fca2cc453d0d564114e54d (patch) | |
tree | 57be846302ce04d1e77ed253455583033380f199 /sql | |
parent | ea2c16091950d150e42487af31f13f51ba1218b6 (diff) | |
parent | 7ab1c2106db4653268404775d54ea55b912d3b6b (diff) | |
download | mariadb-git-87612b52942fc18590fca2cc453d0d564114e54d.tar.gz |
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.3266
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item.cc b/sql/item.cc index 124310b68d5..e889bbf1930 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -1284,8 +1284,8 @@ int Item::save_in_field(Field *field, bool no_conversions) String *result; CHARSET_INFO *cs= collation.collation; char buff[MAX_FIELD_WIDTH]; // Alloc buffer for small columns - str_value.set_quick(buff,sizeof(buff),cs); - result=val_str(&str_value); + String loc_value(buff, sizeof(buff), cs); + result=val_str(&loc_value); if (null_value) return set_field_to_null_with_conversions(field, no_conversions); field->set_notnull(); |