1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-12 12:25:37 +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

@@ -891,7 +891,8 @@ static File create_file(THD *thd, char *path, sql_exchange *exchange,
option|= MY_REPLACE_DIR; // Force use of db directory
#endif
strxnmov(path, FN_REFLEN, mysql_real_data_home, thd->db ? thd->db : "");
strxnmov(path, FN_REFLEN, mysql_real_data_home, thd->db ? thd->db : "",
NullS);
(void) fn_format(path, exchange->file_name, path, "", option);
if (!access(path, F_OK))
{