mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Complementary fix for bug #29353: inserting a negative value to a csv table
leads to the table corruption New Field::store() method implemented to explicitly set thd->count_cuted_fields before value storing, instead of (incorrectly) setting it in the CSV storage engine. Thread row counter now properly incremented during check and repair in the CSV engine.
This commit is contained in:

parent
8c26615204
commit
ee5403110d
@ -494,6 +494,13 @@ enum enum_parsing_place
|
||||
struct st_table;
|
||||
class THD;
|
||||
|
||||
enum enum_check_fields
|
||||
{
|
||||
CHECK_FIELD_IGNORE,
|
||||
CHECK_FIELD_WARN,
|
||||
CHECK_FIELD_ERROR_FOR_NULL
|
||||
};
|
||||
|
||||
/* Struct to handle simple linked lists */
|
||||
|
||||
typedef struct st_sql_list {
|
||||
|
Reference in New Issue
Block a user