diff options
-rw-r--r-- | sql/item_func.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index e6a903e2485..be5dcd070a1 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -6282,8 +6282,7 @@ bool Item_func_match::fix_fields(THD *thd, Item **ref) if (item->type() == Item::FIELD_ITEM) table= ((Item_field *)item)->field->table; - allows_multi_table_search &= - allows_search_on_non_indexed_columns(((Item_field *)item)->field->table); + allows_multi_table_search &= allows_search_on_non_indexed_columns(table); } /* |