mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Reference to field in outer subelect fixed
Fixed context in error mesages mysql-test/r/subselect.result: tests of references and error message mysql-test/t/subselect.test: tests of references and error message sql/item.cc: Fixed layout Resolving field names of outer select sql/item_subselect.cc: saving/restoring context for error messages sql/mysql_priv.h: changed function interface to allow resolving field names inside Item_ref::fix_fields sql/sql_base.cc: changed function interface to allow resolving field names inside Item_ref::fix_fields sql/sql_lex.h: allow access to thd field
This commit is contained in:
@ -1861,7 +1861,7 @@ const Field *not_found_field= (Field*) 0x1;
|
||||
*/
|
||||
|
||||
Field *
|
||||
find_field_in_tables(THD *thd, Item_field *item, TABLE_LIST *tables,
|
||||
find_field_in_tables(THD *thd, Item_ident *item, TABLE_LIST *tables,
|
||||
bool report_error)
|
||||
{
|
||||
Field *found=0;
|
||||
|
Reference in New Issue
Block a user