Commit 43245198 authored by unknown's avatar unknown

fixed retsult code

parent 2428fb5c
...@@ -1765,7 +1765,7 @@ mysql_execute_command(void) ...@@ -1765,7 +1765,7 @@ mysql_execute_command(void)
if (lex->name && (!lex->name[0] || strlen(lex->name) > NAME_LEN)) if (lex->name && (!lex->name[0] || strlen(lex->name) > NAME_LEN))
{ {
net_printf(&thd->net,ER_WRONG_TABLE_NAME,lex->name); net_printf(&thd->net,ER_WRONG_TABLE_NAME,lex->name);
res=0; res= 1;
break; break;
} }
if (!select_lex->db) if (!select_lex->db)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment