1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Remove extra '/' after mysql_real_data_home

Add missing parameter to strxnmov() that caused some INTO OUTFILE commands to core dump
This commit is contained in:
monty@mysql.com
2004-09-03 02:25:27 +03:00
parent 8547d98c88
commit bb4ccdb177
9 changed files with 16 additions and 11 deletions

View File

@@ -1579,7 +1579,7 @@ static int prepare_for_restore(THD* thd, TABLE_LIST* table,
reg_ext))
DBUG_RETURN(-1); // protect buffer overflow
my_snprintf(dst_path, sizeof(dst_path), "%s/%s/%s",
my_snprintf(dst_path, sizeof(dst_path), "%s%s/%s",
mysql_real_data_home, db, table_name);
if (lock_and_wait_for_table_name(thd,table))