mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.4-MDEV-22222' of https://github.com/codership/mariadb-server into 10.4-MDEV-22222
This commit is contained in:
@ -4990,6 +4990,12 @@ mysql_execute_command(THD *thd)
|
||||
if (res)
|
||||
goto error;
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
/* Clean up the previous transaction on implicit commit. */
|
||||
if (wsrep_on(thd) && !wsrep_not_committed(thd) && wsrep_after_statement(thd))
|
||||
goto error;
|
||||
#endif
|
||||
|
||||
/* We can't have any kind of table locks while backup is active */
|
||||
if (thd->current_backup_stage != BACKUP_FINISHED)
|
||||
{
|
||||
|
Reference in New Issue
Block a user