• unknown's avatar
    MWL#89: Cost-based choice between Materialization and IN->EXISTS transformation · 35f0faf4
    unknown authored
    - Corrected a wrong result that was recorded by the MySQL fix for BUG#39069.
    
    - Removed Item_func_isnull::cached_value and all the logic around this custom-made
      caching of the NULL result because MWL#89 optimizes subqueries before the outer
      query is being executed, and this cache cannot be made easily to work for all
      kinds of Items (specifically Item_sum_sum, but others too).
    35f0faf4
opt_subselect.cc 122 KB