diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-06-21 13:26:53 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-06-21 13:26:53 +0400 |
commit | af5e128e50cac8881f7bfca44cc473600abdce86 (patch) | |
tree | c3e235b5b5e6bdf5c0fa1e654f707001ee98dec3 /sql/sql_lex.h | |
parent | ab4a13b2b91e260d8c75a3c41b7ff5c24747cee0 (diff) | |
download | mariadb-git-af5e128e50cac8881f7bfca44cc473600abdce86.tar.gz |
[SHOW] EXPLAIN UPDATE/DELETE, code re-structuring
- Handle statements inside SPs:
= regular statements
= SET command, which does not have its own statement.
- Handle execution of subquery from range optimizer:
allocate subquery QPFs on the same MEM_ROOT as the whole
query plan was allocated.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 6c7a5ca4d13..7e76c09a4f5 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -619,7 +619,8 @@ class select_union; class Procedure; class QPF_query; -void delete_qpf_query(QPF_query * query); +void delete_qpf_query(LEX *lex); +void create_qpf_query(LEX *lex, MEM_ROOT *mem_root); class st_select_lex_unit: public st_select_lex_node { protected: |