summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 9e0853a370b..1fe9e5093eb 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -1765,7 +1765,7 @@ mysql_execute_command(void)
if (lex->name && (!lex->name[0] || strlen(lex->name) > NAME_LEN))
{
net_printf(&thd->net,ER_WRONG_TABLE_NAME,lex->name);
- res=0;
+ res= 1;
break;
}
if (!select_lex->db)