diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-02-17 16:13:42 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-02-17 16:13:42 +0400 |
commit | c8f278485bdadbd3fdc1382ea27d6e35a8627fb4 (patch) | |
tree | bdbc73dd4f1984bcdae9fc74b5711cd70d3f2b34 /sql/field_conv.cc | |
parent | 1e7700b8b8d3e0f5514355dc11451def8aba0287 (diff) | |
download | mariadb-git-c8f278485bdadbd3fdc1382ea27d6e35a8627fb4.tar.gz |
Bug#33717 INSERT...(default) fails for enum. Crashes CSV tables, loads spaces for MyISAM
Table corruption happens during table reading in ha_tina::find_current_row() func.
Field::store() method returns error(true) if stored value is 0.
The fix:
added special case for enum type which correctly processes 0 value.
Additional fix:
INSERT...(default) and INSERT...() have the same behaviour now for enum type.
Diffstat (limited to 'sql/field_conv.cc')
0 files changed, 0 insertions, 0 deletions