mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
branches/zip: Correctly print the names of temporary tables and indexes
during fast index creation. TEMP_TABLE_PREFIX: Move the definition from dict0dict.h to ut0ut.h. ut_print_namel(): Check if the name starts with TEMP_TABLE_PREFIX. innobase_rename_table(): Print all names with ut_print_name(). row_prebuilt_free(): Replace assert() with ut_a().
This commit is contained in:
@@ -753,8 +753,6 @@ row_prebuilt_free(
|
||||
|
||||
added = row_add_table_to_background_drop_list(prebuilt->table);
|
||||
|
||||
assert(*prebuilt->table->name == TEMP_TABLE_PREFIX);
|
||||
|
||||
ut_print_timestamp(stderr);
|
||||
|
||||
if (added) {
|
||||
@@ -769,6 +767,8 @@ row_prebuilt_free(
|
||||
prebuilt->table->name);
|
||||
fputs(" to the background drop list.\n", stderr);
|
||||
}
|
||||
|
||||
ut_a(*prebuilt->table->name == TEMP_TABLE_PREFIX);
|
||||
}
|
||||
|
||||
UT_LIST_REMOVE(prebuilts, prebuilt->table->prebuilts, prebuilt);
|
||||
|
||||
Reference in New Issue
Block a user