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:
@@ -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() :
|
||||
|
||||
Reference in New Issue
Block a user