mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
BUG#10442 Minor changes from code review
This commit is contained in:
@ -1943,9 +1943,11 @@ mysql_execute_command(THD *thd)
|
||||
if (tables || &lex->select_lex != lex->all_selects_list)
|
||||
mysql_reset_errors(thd);
|
||||
|
||||
/* When subselects or time_zone info is used in a query
|
||||
* we create a new TABLE_LIST containing all referenced tables
|
||||
* and set local variable 'tables' to point to this list. */
|
||||
/*
|
||||
When subselects or time_zone info is used in a query
|
||||
we create a new TABLE_LIST containing all referenced tables
|
||||
and set local variable 'tables' to point to this list.
|
||||
*/
|
||||
if ((&lex->select_lex != lex->all_selects_list ||
|
||||
lex->time_zone_tables_used) &&
|
||||
lex->unit.create_total_list(thd, lex, &tables))
|
||||
|
Reference in New Issue
Block a user