fixed possible bug

This commit is contained in:
unknown 2002-11-13 13:07:58 +02:00
parent 6ed18d1c9f
commit 0fb5b32422

View File

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