Commit 7f514010 authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

fixed possible bug

parent d8f1d74f
...@@ -1297,7 +1297,7 @@ mysql_execute_command(THD *thd) ...@@ -1297,7 +1297,7 @@ mysql_execute_command(THD *thd)
that is not a SHOW command or a select that only access local that is not a SHOW command or a select that only access local
variables, but for now this is probably good enough. variables, but for now this is probably good enough.
*/ */
if (tables) if (tables || lex->select_lex.next_select_in_list())
mysql_reset_errors(thd); mysql_reset_errors(thd);
/* /*
Save old warning count to be able to send to client how many warnings we Save old warning count to be able to send to client how many warnings we
......
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