1232
1232
snprintf(old_name, sizeof(old_name), "%s2-%lx-%"PRIx64, TMP_FILE_PREFIX, (unsigned long) current_pid, session->thread_id);
1236
1236
wait_while_table_is_used(session, table, HA_EXTRA_PREPARE_FOR_RENAME);
1237
1237
session->close_data_files_and_morph_locks(original_table_identifier);