1
0
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:
Nikita Malyavin
2023-04-04 23:41:58 +03:00
committed by Sergei Golubchik
parent 5361b87093
commit e1f5c58ac7
3 changed files with 37 additions and 1 deletions

View File

@ -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);