mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Tests affected: main.mysqlcheck
This commit is contained in:
@ -7430,7 +7430,7 @@ static bool mysql_inplace_alter_table(THD *thd,
|
||||
|
||||
{
|
||||
TR_table trt(thd, true);
|
||||
if (table->file->native_versioned())
|
||||
if (table->file->native_versioned() && trt != *table_list)
|
||||
{
|
||||
if (opt_transaction_registry && trt.update())
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user