1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

branches/zip: Remove some checks if an index or a table is a temporary one

created in fast index creation.

dict_load_indexes(): Always complain if the first index is not clustered.

lock_table_enqueue_waiting(): Always complain about lock waits in
a dictionary operation.

row_merge_rename_tables(): Add an assertion that dict_sys->mutex is
being held.

row_undo_mod_del_unmark_sec_and_undo_update(): Make the test about
temporary indexes more readable.

row_create_table_for_mysql(): Do not retry creating a temporary table
in fast index creation.  Orphaned temporary tables will have to be dropped
in crash recovery.
This commit is contained in:
marko
2007-08-29 08:45:34 +00:00
parent 9129593724
commit c13f191357
5 changed files with 55 additions and 93 deletions

View File

@@ -1761,6 +1761,7 @@ row_merge_rename_tables(
ut_ad(trx->mysql_thread_id == os_thread_get_curr_id());
ut_ad(old_table != new_table);
ut_ad(mutex_own(&dict_sys->mutex));
trx->op_info = "renaming tables";
trx_start_if_not_started(trx);