diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-10 21:08:46 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-10 21:08:46 +0300 |
commit | eae968f62d285de97ed607c87bc131cd863d5d03 (patch) | |
tree | b86dacfaf9e1340161d3675204544a4db937eb05 /sql/item_subselect.h | |
parent | 101ddc5e2708e4e32f1aaa7a02fe85f0da95b73a (diff) | |
parent | bafc5c1321a7dff5f2da292111bf98fed9d1658d (diff) | |
download | mariadb-git-eae968f62d285de97ed607c87bc131cd863d5d03.tar.gz |
Merge 10.3 into 10.4
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index a3105bd99e0..7fc953d5532 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -149,6 +149,10 @@ public: Item_subselect(THD *thd); virtual subs_type substype() { return UNKNOWN_SUBS; } + bool is_exists_predicate() + { + return substype() == Item_subselect::EXISTS_SUBS; + } bool is_in_predicate() { return (substype() == Item_subselect::IN_SUBS || |