diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-07-24 14:54:50 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-07-24 14:54:50 +0300 |
commit | c863159c320008676aff978a7cdde5732678f975 (patch) | |
tree | c27120ce7a1aa6ea6199a203f8a40f1c74fe8d1d /sql/handler.cc | |
parent | f99fe68b4fb7ca1715d059d283e50f050f692294 (diff) | |
download | mariadb-git-c863159c320008676aff978a7cdde5732678f975.tar.gz |
MDEV-16799: Test wsrep.variables crash at sql_class.cc:639 thd_get_ha_data
Problem was that binlog_hton was not initialized fully when needed
i.e. when wsrep_on = true.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 128043a8d80..d8df91c82ab 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -4455,6 +4455,7 @@ handler::ha_create_partitioning_metadata(const char *name, const char *old_name, (!old_name && strcmp(name, table_share->path.str))); + mark_trx_read_write(); return create_partitioning_metadata(name, old_name, action_flag); } |