mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fix Bug#22819, remove assertion. (http://bugs.mysql.com/bug.php?id=22819)
This commit is contained in:
parent
a909884ad7
commit
b99e00597c
1 changed files with 0 additions and 6 deletions
|
@ -4423,12 +4423,9 @@ lock_table_queue_validate(
|
|||
dict_table_t* table) /* in: table */
|
||||
{
|
||||
lock_t* lock;
|
||||
ibool is_waiting;
|
||||
|
||||
ut_ad(mutex_own(&kernel_mutex));
|
||||
|
||||
is_waiting = FALSE;
|
||||
|
||||
lock = UT_LIST_GET_FIRST(table->locks);
|
||||
|
||||
while (lock) {
|
||||
|
@ -4438,13 +4435,10 @@ lock_table_queue_validate(
|
|||
|
||||
if (!lock_get_wait(lock)) {
|
||||
|
||||
ut_a(!is_waiting);
|
||||
|
||||
ut_a(!lock_table_other_has_incompatible(
|
||||
lock->trx, 0, table,
|
||||
lock_get_mode(lock)));
|
||||
} else {
|
||||
is_waiting = TRUE;
|
||||
|
||||
ut_a(lock_table_has_to_wait_in_queue(lock));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue