mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.4 to 10.5
This commit is contained in:
@ -2589,7 +2589,7 @@ void THD::give_protection_error()
|
||||
my_error(ER_BACKUP_LOCK_IS_ACTIVE, MYF(0));
|
||||
else
|
||||
{
|
||||
DBUG_ASSERT(global_read_lock.is_acquired());
|
||||
DBUG_ASSERT(global_read_lock.is_acquired() || mdl_backup_lock);
|
||||
my_error(ER_CANT_UPDATE_WITH_READLOCK, MYF(0));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user