1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-31298 Assertion !check_foreigns' failed in trx_mod_table_time_t* trx_t::check_bulk_buffer(dict_table_t*), Assertion table->skip_alter_undo || !check_unique_secondary' failed in trx_t::check_bulk_buffer

unlike CREATE TABLE, CREATE SEQUENCE always causes an implicit commit,
even for temporary sequences.
This commit is contained in:
Sergei Golubchik
2025-01-20 18:10:57 +01:00
parent e551070ba4
commit 661daf0636
3 changed files with 33 additions and 1 deletions

View File

@@ -441,7 +441,6 @@ bool stmt_causes_implicit_commit(THD *thd, uint mask)
case SQLCOM_DROP_TABLE:
case SQLCOM_DROP_SEQUENCE:
case SQLCOM_CREATE_TABLE:
case SQLCOM_CREATE_SEQUENCE:
/*
If CREATE TABLE of non-temporary table and the table is not part
if a BEGIN GTID ... COMMIT group, do a implicit commit.