-
Committer:
Sergey Petrunya
-
Date:
2012-05-24 21:20:40 UTC
-
Revision ID:
psergey@askmonty.org-20120524212040-3rw2sizqamsn6uq7
BUG#1002630: Valgrind warnings 'Invalid read' in subselect_engine::calc_const_tables with SELECT
- In JOIN::exec(), make the having->update_used_tables() call before we've
made the JOIN::cleanup(full=true) call. The latter frees SJ-Materialization
structures, which correlated subquery predicate items attempt to walk afterwards.