diff options
author | unknown <bell@sanja.is.com.ua> | 2004-06-09 23:32:20 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-06-09 23:32:20 +0300 |
commit | 07b5fdbcdb656b46c83d3585dc548107b5711609 (patch) | |
tree | 245eec6a233c1233f75284cfd2d619b0afe4c28b /sql/sql_lex.cc | |
parent | 5304a03e997d520a60d98a5e27da92a0d3efb8d0 (diff) | |
download | mariadb-git-07b5fdbcdb656b46c83d3585dc548107b5711609.tar.gz |
do not unlock tables early if we have subquery in HAVING clause (BUG#3984)
mysql-test/r/subselect_innodb.result:
test of unlocking innodb tables and subquery in HAVING clause
mysql-test/t/subselect_innodb.test:
test of unlocking innodb tables and subquery in HAVING clause
sql/item_subselect.cc:
mark SELECT with subquery in HAVING clause
sql/sql_lex.cc:
mark SELECT with subquery in HAVING clause
sql/sql_lex.h:
mark SELECT with subquery in HAVING clause
sql/sql_select.cc:
do not unlock tables early if we have subquery in HAVING clause
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index f98a6b43846..ef52f4b9271 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1022,7 +1022,7 @@ void st_select_lex::init_query() ref_pointer_array= 0; select_n_having_items= 0; prep_where= 0; - explicit_limit= 0; + subquery_in_having= explicit_limit= 0; } void st_select_lex::init_select() |