mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
Merge of mysql-5.1-bugteam into mysql-trunk-merge.
This commit is contained in:
commit
89a48f7dbd
1 changed files with 1 additions and 1 deletions
|
@ -2933,7 +2933,7 @@ make_table_name_list(THD *thd, List<LEX_STRING> *table_names, LEX *lex,
|
||||||
*/
|
*/
|
||||||
if (res == FIND_FILES_DIR)
|
if (res == FIND_FILES_DIR)
|
||||||
{
|
{
|
||||||
if (lex->sql_command != SQLCOM_SELECT)
|
if (sql_command_flags[lex->sql_command] & CF_STATUS_COMMAND)
|
||||||
return 1;
|
return 1;
|
||||||
thd->clear_error();
|
thd->clear_error();
|
||||||
return 2;
|
return 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue