diff options
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 652896bb1e4..5b4fb816404 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -2019,7 +2019,9 @@ void Item_func_match::init_search(bool no_order) } ft_handler=table->file->ft_init_ext(mode, key, - ft_tmp->ptr(), ft_tmp->length(), join_key && !no_order); + (byte*) ft_tmp->ptr(), + ft_tmp->length(), + join_key && !no_order); if (join_key) { |