• Sergey Petrunya's avatar
    BUG#920132: Assert trx->n_active_thrs == 1 failed at que0que.c line 1050 · 352e848f
    Sergey Petrunya authored
    - MySQL 5.5 introduced caching of constant items by means of 
      wrapping them in Item_cache_XXX objects. If a subquery was wrapped
      in this cache, it could end up being pushed down by ICP.
    - The fix is to add Item_cache::walk() which lets ICP to see that 
      the cache item has a subquery inside it, and disable pushdown for this case.
    352e848f
innodb_icp.test 1.12 KB