1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

BUG#16893: Crash in test 'fulltext_order_by'

Fixed that fulltext query + union results in unexpected behaviour.
This commit is contained in:
svoj@april.(none)
2006-02-03 14:09:33 +04:00
parent 736faf4730
commit 7c76ae4c13
2 changed files with 2 additions and 3 deletions

View File

@ -1057,9 +1057,6 @@ public:
{ {
ft_handler->please->close_search(ft_handler); ft_handler->please->close_search(ft_handler);
ft_handler=0; ft_handler=0;
if (join_key)
table->file->ft_handler=0;
table->fulltext_searched=0;
} }
if (concat) if (concat)
{ {

View File

@ -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);