diff options
author | unknown <bell@sanja.is.com.ua> | 2004-11-30 21:41:12 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-11-30 21:41:12 +0200 |
commit | a49025d2c86adefcb61517ff75434479b75b8d02 (patch) | |
tree | 35c1ff6c8cdf8dfb42fcc80193de22685fca23ba /sql/sql_lex.h | |
parent | dcd6e3d070abf96d9d2bf69bd42ff668059e8e83 (diff) | |
download | mariadb-git-a49025d2c86adefcb61517ff75434479b75b8d02.tar.gz |
now we create temporary join for all queries with subqueries to make correct cleunup of tables and avoid too early unlock (BUG#6841)
mysql-test/t/subselect_innodb.test:
possible early unlock
sql/sql_lex.cc:
subqueries presence flag
sql/sql_lex.h:
subqueries presence flag
sql/sql_parse.cc:
subqueries presence flag
sql/sql_select.cc:
removed some too optimistic optimisation, now we create temporary join for all queries with subqueries to make correct cleunup of tables and avoid too early unlock
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 90c020b3e93..123e855061a 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -619,6 +619,7 @@ typedef struct st_lex bool in_comment, ignore_space, verbose, no_write_to_binlog; bool derived_tables; bool safe_to_cache_query; + bool subqueries; ALTER_INFO alter_info; /* Prepared statements SQL syntax:*/ LEX_STRING prepared_stmt_name; /* Statement name (in all queries) */ |