1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Daemon: TRT check respects --transaction-registry [#302]

This commit is contained in:
Aleksey Midenkov
2017-11-15 18:08:00 +03:00
parent 3fc943cd87
commit f39df037f6
6 changed files with 7 additions and 7 deletions

View File

@@ -1419,7 +1419,7 @@ int ha_commit_trans(THD *thd, bool all)
for (Ha_trx_info *hi= ha_info; hi; hi= hi->next())
{
handlerton *ht= hi->ht();
if (transaction_registry &&
if (opt_transaction_registry &&
(ht->flags & HTON_NATIVE_SYS_VERSIONING) &&
(thd->lex->sql_command == SQLCOM_ALTER_TABLE ?
hi->is_trx_tmp_read_write() :