• unknown's avatar
    if outer refernce (identifier) was resolved with help of cache all subqueries... · ca119d39
    unknown authored
    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
    ca119d39
item_subselect.h 11.7 KB