mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
4b260b668d
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. mysql-test/r/csv.result: test result mysql-test/r/default.result: result fix mysql-test/t/csv.test: test case sql/item.cc: Changes: do not print warning for 'enum' type if there is no default value. set default value. storage/csv/ha_tina.cc: 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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ha_tina.cc | ||
ha_tina.h | ||
Makefile.am | ||
plug.in | ||
transparent_file.cc | ||
transparent_file.h |