diff options
author | unknown <serg@serg.mysql.com> | 2002-03-01 16:57:08 +0000 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2002-03-01 16:57:08 +0000 |
commit | 43a1ef6ce23e8751236c3948030e6e7b57bd5c45 (patch) | |
tree | 2b4289848a910e2a05a4d815949eaca3ecf90bb8 /sql/item_func.cc | |
parent | 6fdd6e8e4689342f8fa213a36465d2263a8ccab9 (diff) | |
download | mariadb-git-43a1ef6ce23e8751236c3948030e6e7b57bd5c45.tar.gz |
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
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 1818a755a43..01b3e4e89c4 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -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) { |