Commit 91296df5 authored by svoj@april.(none)'s avatar svoj@april.(none)

Merge april.(none):/home/svoj/devel/mysql/BUG16893/mysql-4.1

into  april.(none):/home/svoj/devel/mysql/merge/mysql-4.1
parents a67d8f90 7c76ae4c
...@@ -1056,9 +1056,6 @@ class Item_func_match :public Item_real_func ...@@ -1056,9 +1056,6 @@ class Item_func_match :public Item_real_func
if (!master && ft_handler) if (!master && ft_handler)
{ {
ft_handler->please->close_search(ft_handler); ft_handler->please->close_search(ft_handler);
if (join_key)
table->file->ft_handler=0;
table->fulltext_searched=0;
} }
if (concat) if (concat)
{ {
......
...@@ -988,6 +988,8 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name, ...@@ -988,6 +988,8 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name,
table->status=STATUS_NO_RECORD; table->status=STATUS_NO_RECORD;
table->keys_in_use_for_query= table->keys_in_use; table->keys_in_use_for_query= table->keys_in_use;
table->used_keys= table->keys_for_keyread; table->used_keys= table->keys_for_keyread;
table->file->ft_handler=0;
table->fulltext_searched=0;
if (table->timestamp_field) if (table->timestamp_field)
table->timestamp_field_type= table->timestamp_field->get_auto_set_type(); table->timestamp_field_type= table->timestamp_field->get_auto_set_type();
DBUG_ASSERT(table->key_read == 0); DBUG_ASSERT(table->key_read == 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment