File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10313,17 +10313,17 @@ commit_try_norebuild(
10313
10313
10314
10314
dict_fs2utf8 (ctx->new_table ->name .m_name , db, sizeof db,
10315
10315
table, sizeof table);
10316
-
10316
+ tmp_name[ 0 ]= ( char ) 0xff ;
10317
10317
for (size_t i = 0 ; error == DB_SUCCESS && i < size; i++) {
10318
- snprintf (tmp_name, sizeof tmp_name, " \xff %zu" , i);
10318
+ snprintf (tmp_name+ 1 , sizeof ( tmp_name)- 1 , " %zu" , i);
10319
10319
error = dict_stats_rename_index (db, table,
10320
10320
ha_alter_info->
10321
10321
rename_keys[i].
10322
10322
old_key->name .str ,
10323
10323
tmp_name, trx);
10324
10324
}
10325
10325
for (size_t i = 0 ; error == DB_SUCCESS && i < size; i++) {
10326
- snprintf (tmp_name, sizeof tmp_name, " \xff %zu" , i);
10326
+ snprintf (tmp_name+ 1 , sizeof ( tmp_name)- 1 , " %zu" , i);
10327
10327
error = dict_stats_rename_index (db, table, tmp_name,
10328
10328
ha_alter_info
10329
10329
->rename_keys [i].
You can’t perform that action at this time.
0 commit comments