diff options
author | unknown <hf@deer.(none)> | 2004-03-23 17:57:14 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-03-23 17:57:14 +0400 |
commit | b7b69c5d2fe953d2ffe5645e994a1d9c572098dc (patch) | |
tree | 9d21220431fe6e44974cb0d6254ce2dbbe7afebb /client/completion_hash.h | |
parent | a25455eea533974a2106be75605ca3ee8377da76 (diff) | |
download | mariadb-git-b7b69c5d2fe953d2ffe5645e994a1d9c572098dc.tar.gz |
Fix for #3266 (garbled TEXT fields as a result of CREATE TABLE SELECT)
Problem is that Item::save_in_field modifies str_value member
before it calls val_str but Item_copy_string::val_str just returns
this str_value as the result.
I added local String variable to the Item::save_in_field
mysql-test/r/create.result:
appropriate test result
mysql-test/t/create.test:
test case
sql/item.cc:
local variable added to keep the result
Diffstat (limited to 'client/completion_hash.h')
0 files changed, 0 insertions, 0 deletions