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:
committed by
Robert Bindar
parent
8f8cc5f4c2
commit
73dfb402bf
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user