mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
item.cc:
Fix warning after fix for bug#27321.
This commit is contained in:
parent
51badaddbc
commit
7d71d58076
1 changed files with 1 additions and 1 deletions
|
@ -3446,7 +3446,7 @@ Item_field::fix_outer_field(THD *thd, Field **from_field, Item **reference)
|
||||||
Item **ref= (Item **) not_found_item;
|
Item **ref= (Item **) not_found_item;
|
||||||
SELECT_LEX *current_sel= (SELECT_LEX *) thd->lex->current_select;
|
SELECT_LEX *current_sel= (SELECT_LEX *) thd->lex->current_select;
|
||||||
Name_resolution_context *outer_context= 0;
|
Name_resolution_context *outer_context= 0;
|
||||||
SELECT_LEX *select;
|
SELECT_LEX *select= 0;
|
||||||
/* Currently derived tables cannot be correlated */
|
/* Currently derived tables cannot be correlated */
|
||||||
if (current_sel->master_unit()->first_select()->linkage !=
|
if (current_sel->master_unit()->first_select()->linkage !=
|
||||||
DERIVED_TABLE_TYPE)
|
DERIVED_TABLE_TYPE)
|
||||||
|
|
Loading…
Reference in a new issue