mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
sync_thread_add_level(): When level == SYNC_TREE_NODE, allow the latching
order to be violated if the thread holds dict_operation_lock, whose level is SYNC_DICT_OPERATION. This removes the assertion failure of TRUNCATE TABLE #ifdef UNIV_SYNC_DEBUG.
This commit is contained in:
parent
58fe21c8cb
commit
c7e13ec677
1 changed files with 1 additions and 0 deletions
|
@ -1134,6 +1134,7 @@ sync_thread_add_level(
|
|||
break;
|
||||
case SYNC_TREE_NODE:
|
||||
ut_a(sync_thread_levels_contain(array, SYNC_INDEX_TREE)
|
||||
|| sync_thread_levels_contain(array, SYNC_DICT_OPERATION)
|
||||
|| sync_thread_levels_g(array, SYNC_TREE_NODE - 1));
|
||||
break;
|
||||
case SYNC_TREE_NODE_NEW:
|
||||
|
|
Loading…
Add table
Reference in a new issue