diff options
author | unknown <igor@rurik.mysql.com> | 2006-09-20 09:46:12 -0700 |
---|---|---|
committer | unknown <igor@rurik.mysql.com> | 2006-09-20 09:46:12 -0700 |
commit | 0f50a8a7fea053127f236ca4956bba58370a8d81 (patch) | |
tree | 3db6384393acc6ad8de9630cfa815c1acff5d49f /sql/item.cc | |
parent | 903fc561b28e67bf45f92e9a7ff80274c0c20ebc (diff) | |
download | mariadb-git-0f50a8a7fea053127f236ca4956bba58370a8d81.tar.gz |
Fixed bug #20108.
Any default value for a enum fields over UCS2 charsets was corrupted
when we put it into the frm file, as it had been overwritten by its
HEX representation.
To fix it now we save a copy of structure that represents the enum
type and when putting the default values we use this copy.
mysql-test/r/ctype_ucs.result:
Added a test case for bug #20108.
mysql-test/t/ctype_ucs.test:
Added a test case for bug #20108.
Diffstat (limited to 'sql/item.cc')
0 files changed, 0 insertions, 0 deletions