summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2022-06-03 20:05:31 -0700
committerIgor Babaev <igor@askmonty.org>2022-06-03 20:05:31 -0700
commitd5d8695423ff9ed8fb245fe1dd1cf38d1c57856e (patch)
treeeeb040274853c1a1276361679a464772d62ab3bc /sql/sql_lex.h
parent1f0333db90fb942b2a8435733184460ca3c56288 (diff)
downloadmariadb-git-bb-10.7-mdev-7487.tar.gz
MDEV-7487 Semi-join optimization for single-table UPDATE/DELETEsbb-10.7-mdev-7487
This is a preliminary patch.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 5436bfd0a59..f760ea14f72 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1642,6 +1642,7 @@ public:
void lex_start(LEX *plex);
bool is_unit_nest() { return (nest_flags & UNIT_NEST_FL); }
void mark_as_unit_nest() { nest_flags= UNIT_NEST_FL; }
+ bool is_sj_subselect_lifted_to_top();
};
typedef class st_select_lex SELECT_LEX;