Commit 902a307d authored by unknown's avatar unknown

Fix of reverting changes in depend_on list.

parent 6c907625
......@@ -1813,6 +1813,8 @@ Item *Item_in_optimizer::expr_cache_insert_transformer(uchar *thd_arg)
(expr_cache= set_expr_cache(thd, depends_on)))
DBUG_RETURN(expr_cache);
/* no cache => return list in original state just to be safe */
for (uint i= 0; i < args[0]->cols(); i++)
depends_on.pop();
DBUG_RETURN(this);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment