mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
fulltext+const_table bug fixed
mysql-test/r/fulltext.result: test added mysql-test/t/fulltext.test: test added sql/item_func.cc: fulltext+const_table problem fixed once and forever sql/item_func.h: fulltext+const_table problem fixed once and forever sql/sql_select.cc: fulltext+const_table problem fixed once and forever sql/table.h: fulltext+const_table problem fixed once and forever
This commit is contained in:
parent
6fdd6e8e46
commit
43a1ef6ce2
6 changed files with 21 additions and 1 deletions
|
|
@ -2108,6 +2108,7 @@ bool Item_func_match::fix_fields(THD *thd,struct st_table_list *tlist)
|
|||
key=NO_SUCH_KEY;
|
||||
const_item_cache=0;
|
||||
table=((Item_field *)fields.head())->field->table;
|
||||
table->fulltext_searched=1;
|
||||
record=table->record[0];
|
||||
if (key == NO_SUCH_KEY && mode != FT_BOOL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue