mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-20945: BACKUP UNLOCK + FTWRL assertion failure
MDEV-20945: BACKUP UNLOCK + FTWRL assertion failure | SIGSEGV in I_P_List from MDL_context::release_lock on INSERT w/ BACKUP LOCK (on optimized builds) | Assertion `ticket->m_duration == MDL_EXPLICIT' failed BACKUP LOCK behavior is modified so it won't be used wrong: - BACKUP LOCK should commit any active transactions. - BACKUP LOCK should not be allowed in stored procedures. - When BACKUP LOCK is active, don't allow any DDL's for that connection. - FTWRL is forbidden on the same connection while BACKUP LOCK is active. Reviewed-by: monty@mariadb.com
This commit is contained in:
@ -1114,6 +1114,16 @@ source include/implicit_commit_helper.inc;
|
||||
# backup database db1 to 'backup_db1.ba';
|
||||
#source include/implicit_commit_helper.inc;
|
||||
|
||||
--echo #
|
||||
--echo # SQLCOM_BACKUP_LOCK
|
||||
--echo #
|
||||
|
||||
INSERT INTO db1.trans VALUES (1);
|
||||
BACKUP LOCK t1;
|
||||
ROLLBACK;
|
||||
BACKUP UNLOCK;
|
||||
CALL db1.test_if_commit();
|
||||
|
||||
--echo #
|
||||
--echo # SQLCOM_SHOW_ARCHIVE
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user