mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-25201 : Assertion `thd->wsrep_trx_meta.gtid.seqno == (-1)' failed in int wsrep_to_isolation_begin(THD*, const char*, const char*, const TABLE_LIST*, Alter_info*)
Test case does not assert anymore but works incorrectly. We should not replicate PREPARE using TOI.
This commit is contained in:
@ -4227,6 +4227,7 @@ restart:
|
||||
wsrep_thd_exec_mode(thd) == LOCAL_STATE &&
|
||||
!is_stat_table((*start)->db, (*start)->alias) &&
|
||||
thd->get_command() != COM_STMT_PREPARE &&
|
||||
!thd->stmt_arena->is_stmt_prepare() &&
|
||||
((thd->lex->sql_command == SQLCOM_INSERT ||
|
||||
thd->lex->sql_command == SQLCOM_INSERT_SELECT ||
|
||||
thd->lex->sql_command == SQLCOM_REPLACE ||
|
||||
|
Reference in New Issue
Block a user