diff options
author | unknown <bell@sanja.is.com.ua> | 2005-04-29 02:43:56 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-04-29 02:43:56 +0300 |
commit | ca119d390e1fd739419e5c5ab8122c21f3065a8a (patch) | |
tree | c31f792cfef5864ca0703e3b371b27e7af80ef69 /sql/item_subselect.h | |
parent | fab23b39de8c6bcb00fcb4272e9ecf3f69f35b30 (diff) | |
download | mariadb-git-ca119d390e1fd739419e5c5ab8122c21f3065a8a.tar.gz |
if outer refernce (identifier) was resolved with help of cache all subqueries and resolved item itseld have to be correctly marked as dependent
(BUG#10041)
sql/item.cc:
depended_from shoudl be cleaned
layout fixed
function to mark range of SELECTs as dependent (used if item was resolved with PS cache of resolving identifiers)
sql/item.h:
function to mark range of SELECTs as dependent (used if item was resolved with PS cache of resolving identifiers)
sql/item_subselect.h:
function to mark range of SELECTs as dependent (used if item was resolved with PS cache of resolving identifiers)
sql/sql_base.cc:
if outer refernce (identifier) was resolved with help of cache all subqueries and resolved item itseld have to be correctly marked as dependent
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index 1a407c695b2..bdea5c5efee 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -122,6 +122,9 @@ public: friend bool Item_field::fix_fields(THD *, TABLE_LIST *, Item **); friend bool Item_ref::fix_fields(THD *, TABLE_LIST *, Item **); friend bool Item_param::fix_fields(THD *, TABLE_LIST *, Item **); + friend void mark_select_range_as_dependent(THD*, + st_select_lex*, st_select_lex*, + Field*, Item*, Item_ident*); }; /* single value subselect */ |