diff options
author | Michael Widenius <monty@mariadb.org> | 2020-07-31 16:11:35 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-05-19 22:27:28 +0200 |
commit | 451c4ae548fd4b0dda93ac499682e95b249bfcf4 (patch) | |
tree | 0a119270ddd0ca016df592b53d215c260b69ecb7 /sql/item_func.h | |
parent | 189d03dac52ecce13d3dc2b01faba25b7ca168a0 (diff) | |
download | mariadb-git-451c4ae548fd4b0dda93ac499682e95b249bfcf4.tar.gz |
Renamed 'flags' variables in Item_class
This is a preparation for adding a flags variable to Item class
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 08eda7203ab..46e23170c71 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -3234,7 +3234,7 @@ public: class Item_func_match :public Item_real_func { public: - uint key, flags; + uint key, match_flags; bool join_key; DTCollation cmp_collation; FT_INFO *ft_handler; @@ -3245,7 +3245,7 @@ public: String search_value; // key_item()'s value converted to cmp_collation Item_func_match(THD *thd, List<Item> &a, uint b): - Item_real_func(thd, a), key(0), flags(b), join_key(0), ft_handler(0), + Item_real_func(thd, a), key(0), match_flags(b), join_key(0), ft_handler(0), table(0), master(0), concat_ws(0) { } void cleanup() { @@ -3308,7 +3308,7 @@ private: bool allows_search_on_non_indexed_columns(TABLE* table_arg) { // Only Boolean search may support non_indexed columns - if (!(flags & FT_BOOL)) + if (!(match_flags & FT_BOOL)) return false; DBUG_ASSERT(table_arg && table_arg->file); |