• unknown's avatar
    Bug #16255: Subquery in WHERE (the cset by Georgi Kodinov) · c74c8195
    unknown authored
     Must not use Item_direct_ref in HAVING because it points to
     the new value (witch is not yet calculated for the first row).
    
    
    mysql-test/r/subselect.result:
      Bug #16255: Subquery in where
       - test case
    mysql-test/t/subselect.test:
      Bug #16255: Subquery in where
       - test case
    sql/item_subselect.cc:
      Bug #16255: Subquery in where
       Must not use Item_direct_ref in HAVING because it points to
       the new value (witch is not yet calculated for the first row).
    c74c8195
subselect.result 110 KB