diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2018-01-01 13:41:50 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2018-01-01 23:37:02 +0300 |
commit | 8efca72f4a47187a0c3bf689a1fa4aecd5452695 (patch) | |
tree | ab5149daa1f2565b1db053d530bcc6896e0176dd /sql/sql_trigger.h | |
parent | 157150cfcf5b95b19d332cb1373aeb5eb22d4f70 (diff) | |
download | mariadb-git-8efca72f4a47187a0c3bf689a1fa4aecd5452695.tar.gz |
MDEV-14792 INSERT without column list into table with explicit versioning columns produces bad data
Diffstat (limited to 'sql/sql_trigger.h')
-rw-r--r-- | sql/sql_trigger.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sql/sql_trigger.h b/sql/sql_trigger.h index 43cbec7e433..6c02afdb89c 100644 --- a/sql/sql_trigger.h +++ b/sql/sql_trigger.h @@ -146,10 +146,6 @@ class Table_triggers_list: public Sql_alloc Field **record0_field; uchar *extra_null_bitmap; /** - System Versioning: record0_field without system fields. - */ - Field **vers_user_field; - /** Copy of TABLE::Field array with field pointers set to TABLE::record[1] buffer instead of TABLE::record[0] (used for OLD values in on UPDATE trigger and DELETE trigger when it is called for REPLACE). @@ -212,7 +208,7 @@ public: /* End of character ser context. */ Table_triggers_list(TABLE *table_arg) - :record0_field(0), extra_null_bitmap(0), vers_user_field(0), record1_field(0), + :record0_field(0), extra_null_bitmap(0), record1_field(0), trigger_table(table_arg), m_has_unparseable_trigger(false), count(0) { @@ -277,7 +273,6 @@ public: TABLE_LIST *table_list); Field **nullable_fields() { return record0_field; } - Field **vers_user_fields() { return vers_user_field; } void reset_extra_null_bitmap() { size_t null_bytes= (trigger_table->s->stored_fields - |