mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-30891 Assertion `!table->versioned(VERS_TRX_ID)' failed
Assertion `!table->versioned(VERS_TRX_ID)' failed in Write_rows_log_event::binlog_row_logging_function during ONLINE ALTER. trxid-versioned tables can't be replicated. ONLINE ALTER will also be forbidden for these tables.
This commit is contained in:
committed by
Sergei Golubchik
parent
5361b87093
commit
e1f5c58ac7
@ -10069,7 +10069,7 @@ bool mysql_alter_table(THD *thd, const LEX_CSTRING *new_db,
|
||||
table= table_list->table;
|
||||
bool is_reg_table= table->s->tmp_table == NO_TMP_TABLE;
|
||||
|
||||
online= online && !table->s->tmp_table;
|
||||
online= online && !table->s->tmp_table && !table->versioned(VERS_TRX_ID);
|
||||
|
||||
List<FOREIGN_KEY_INFO> fk_list;
|
||||
table->file->get_foreign_key_list(thd, &fk_list);
|
||||
|
Reference in New Issue
Block a user