diff options
author | Nikita Malyavin <nikitamalyavin@gmail.com> | 2018-07-05 21:03:37 +1000 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-03-29 12:51:19 +0100 |
commit | 39d7e5969ba06f78d44e5cbd1ea72f882f3a5e66 (patch) | |
tree | 677cc80d11c05d9016af5095c87adf57667d87ad /sql | |
parent | 8123d799113177aaaa1ffcdfa88c728fa82972ca (diff) | |
download | mariadb-git-39d7e5969ba06f78d44e5cbd1ea72f882f3a5e66.tar.gz |
MDEV-16252: MINIMAL binlog_row_image does not work for versioned tables
* mark columns for binlog before inserting history row
Closes #822
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_update.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 1d7dec31d56..5e5b6644377 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -956,6 +956,7 @@ update_begin: if (table->versioned(VERS_TIMESTAMP)) { store_record(table, record[2]); + table->mark_columns_per_binlog_row_image(); error= vers_insert_history_row(table); restore_record(table, record[2]); } |