-
Committer:
timour at askmonty
-
Date:
2012-11-09 11:07:32 UTC
-
Revision ID:
timour@askmonty.org-20121109110732-4wj0hpbagypf7zpq
MDEV-3810 fix.
The problem is that memory alocated by copy_andor_structure() well be freed,
but if level of SELECT_LEX it will be excluded (in case of merge derived tables and view)
then sl->where/having will not be updated here but still can be accessed (so it will be access to freed memory).
(patch by Sanja)