Browse Source
Fixed LP bug #826279.
Fixed LP bug #826279.
When the WHERE/HAVING condition of a subquery has been transformed by the optimizer the pointer stored the 'where'/'having' field of the SELECT_LEX structure used for the subquery must be updated accordingly. Otherwise the pointer may refer to an invalid item. This can lead to the reported assertion failure for some queries with correlated subqueriespull/374/head
7 changed files with 163 additions and 2 deletions
-
25mysql-test/r/subselect.result
-
25mysql-test/r/subselect_no_mat.result
-
25mysql-test/r/subselect_no_opts.result
-
25mysql-test/r/subselect_no_semijoin.result
-
25mysql-test/r/subselect_scache.result
-
26mysql-test/t/subselect.test
-
14sql/sql_select.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue