diff options
author | bell@sanja.is.com.ua <> | 2004-06-09 23:32:20 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-06-09 23:32:20 +0300 |
commit | 98a7b49dc57822b9ef98c48943a636fbff6a3ae8 (patch) | |
tree | 245eec6a233c1233f75284cfd2d619b0afe4c28b /sql/sql_lex.h | |
parent | 1b76aa077f260104b9710300e696a3ea6f388fd5 (diff) | |
download | mariadb-git-98a7b49dc57822b9ef98c48943a636fbff6a3ae8.tar.gz |
do not unlock tables early if we have subquery in HAVING clause (BUG#3984)
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 36e05b40c7d..6ecdcda46dc 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -433,6 +433,11 @@ public: bool having_fix_field; /* explicit LIMIT clause was used */ bool explicit_limit; + /* + there are subquery in HAVING clause => we can't close tables before + query processing end even if we use temporary table + */ + bool subquery_in_having; /* SELECT for SELECT command st_select_lex. Used to privent scaning |