diff options
author | Tatiana A. Nurnberg <azundris@mysql.com> | 2010-02-18 17:02:17 +0000 |
---|---|---|
committer | Tatiana A. Nurnberg <azundris@mysql.com> | 2010-02-18 17:02:17 +0000 |
commit | c55ba71ec10a3158776c2a54f08350d28bff1037 (patch) | |
tree | 568bc7823ed21bc65107fe7c64d7c826060d5ad2 /sql/sql_class.h | |
parent | b38ac49cf6cdf36ea142a86c60946394f2c3913f (diff) | |
download | mariadb-git-c55ba71ec10a3158776c2a54f08350d28bff1037.tar.gz |
Bug#48525: trigger changes "Column 'id' cannot be null" behaviour
CHECK_FIELD_IGNORE was treated as CHECK_FIELD_ERROR_FOR_NULL;
UPDATE...SET...NULL on NOT NULL fields behaved differently after
a trigger.
Now distinguishes between IGNORE and ERROR_FOR_NULL and save/restores
check-field options.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 032985dc44e..2ddd9358382 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -995,6 +995,7 @@ public: bool enable_slow_log; bool last_insert_id_used; SAVEPOINT *savepoints; + enum enum_check_fields count_cuted_fields; }; |