diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-10 17:57:14 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-10 17:57:14 +0300 |
commit | 3b6dadb5ebedab71bf1870579745ff3cd05e498a (patch) | |
tree | 045f7347d2dde8ca4f7cddce0b91b7625cb9cf13 /sql/item_subselect.h | |
parent | 0460d42b949b1dd90117808919d7cc97b8ab16ae (diff) | |
parent | 7f67ef14852afebf90aaafdfc7295acbf0ad340f (diff) | |
download | mariadb-git-3b6dadb5ebedab71bf1870579745ff3cd05e498a.tar.gz |
Merge 10.1 into 10.2
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 23bdeacade9..816073ed5d3 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -145,6 +145,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 || |