1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Renamed tmp file using #sql_#_# to #sql-#-#

This was done to match the naming of the ALTER #sql-#-# tmp files
This commit is contained in:
Monty
2019-05-08 23:20:51 +03:00
parent ebf372ddae
commit e533ba9b84
2 changed files with 3 additions and 3 deletions

View File

@ -10224,7 +10224,7 @@ do_continue:;
backup_name.length= my_snprintf(backup_name_buff, sizeof(backup_name_buff),
"%s2-%lx-%lx", tmp_file_prefix,
current_pid, (long) thd->thread_id);
current_pid, (long) thd->thread_id);
if (lower_case_table_names)
my_casedn_str(files_charset_info, backup_name_buff);
if (mysql_rename_table(old_db_type, &alter_ctx.db, &alter_ctx.table_name,