diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-12-03 13:29:27 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-12-03 13:29:27 +0400 |
commit | 466335a44c17c9010085eaa8a4c651f95ab0d213 (patch) | |
tree | 6231d4990ee65372068349bf5f90860034169f71 | |
parent | f89a27b4e5d360315a090f816649edf14eae25a7 (diff) | |
download | mariadb-git-466335a44c17c9010085eaa8a4c651f95ab0d213.tar.gz |
MDEV-16707 Add an accessor in Item_func_like class for the negated attribute
-rw-r--r-- | sql/item_cmpfunc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 213f666dd74..4406eca7357 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -2642,6 +2642,9 @@ public: Item_bool_func2(thd, a, b), canDoTurboBM(FALSE), pattern(0), pattern_len(0), bmGs(0), bmBc(0), escape_item(escape_arg), escape_used_in_parsing(escape_used), use_sampling(0), negated(0) {} + + bool get_negated() const { return negated; } // Used by ColumnStore + longlong val_int(); enum Functype functype() const { return LIKE_FUNC; } void print(String *str, enum_query_type query_type); |