mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Applying InnoDB snapshot
Detailed revision comments: r6274 | marko | 2009-12-03 14:47:12 +0200 (Thu, 03 Dec 2009) | 6 lines branches/zip: dict_table_check_for_dup_indexes(): Assert that the data dictionary mutex is being held while table->indexes is accessed. This is already the case. Currently, only dict_table_get_next_index() and dict_table_get_first_index() are being invoked without holding dict_sys->mutex.
This commit is contained in:
parent
72554b36fc
commit
51105de06a
1 changed files with 2 additions and 0 deletions
|
|
@ -4775,6 +4775,8 @@ dict_table_check_for_dup_indexes(
|
|||
const dict_index_t* index1;
|
||||
const dict_index_t* index2;
|
||||
|
||||
ut_ad(mutex_own(&dict_sys->mutex));
|
||||
|
||||
/* The primary index _must_ exist */
|
||||
ut_a(UT_LIST_GET_LEN(table->indexes) > 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue