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

MDEV-20500: Bad error msg on disabling local infile

This commit is contained in:
Rahul Anand
2020-03-02 20:05:28 +05:30
committed by Robert Bindar
parent 8f8cc5f4c2
commit 73dfb402bf
4 changed files with 9 additions and 5 deletions

View File

@ -4940,8 +4940,9 @@ mysql_execute_command(THD *thd)
if (!(thd->client_capabilities & CLIENT_LOCAL_FILES) ||
!opt_local_infile)
{
my_message(ER_NOT_ALLOWED_COMMAND, ER_THD(thd, ER_NOT_ALLOWED_COMMAND), MYF(0));
goto error;
my_message(ER_LOAD_INFILE_CAPABILITY_DISABLED,
ER_THD(thd, ER_LOAD_INFILE_CAPABILITY_DISABLED), MYF(0));
goto error;
}
}