Commit 72fca68a authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

fixed retsult code

parent c01c8f99
...@@ -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