Commit 0cf5d263 authored by unknown's avatar unknown

sql_select.cc (at last) fulltext/cache bug fixed

fulltext_cache.result	(at last) fulltext/cache bug fixed


mysql-test/r/fulltext_cache.result:
  (at last) fulltext/cache bug fixed
sql/sql_select.cc:
  (at last) fulltext/cache bug fixed
parent e0cda2fe
...@@ -8,7 +8,7 @@ ssde df s fsda sad er um chocolate Snickers 6 0 ...@@ -8,7 +8,7 @@ ssde df s fsda sad er um chocolate Snickers 6 0
aaaaaaaaa dsaass de Bife 7 0 aaaaaaaaa dsaass de Bife 7 0
aaaaaaaaa dsaass de Pizza de Salmao 8 0 aaaaaaaaa dsaass de Pizza de Salmao 8 0
q item id x q item id x
aaaaaaaaa dsaass de sushi 1 0 aaaaaaaaa dsaass de sushi 1 1.92378665219675
aaaaaaaaa dsaass de Bolo de Chocolate 2 0 aaaaaaaaa dsaass de Bolo de Chocolate 2 0
aaaaaaaaa dsaass de Feijoada 3 0 aaaaaaaaa dsaass de Feijoada 3 0
aaaaaaaaa dsaass de Mousse de Chocolate 4 0 aaaaaaaaa dsaass de Mousse de Chocolate 4 0
......
...@@ -473,8 +473,8 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds, ...@@ -473,8 +473,8 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds,
(group && order) || (group && order) ||
test(select_options & OPTION_BUFFER_RESULT))); test(select_options & OPTION_BUFFER_RESULT)));
make_join_readinfo(&join, make_join_readinfo(&join, (select_options & SELECT_DESCRIBE) |
(select_options & SELECT_DESCRIBE) | SELECT_USE_CACHE); (ftfuncs.elements ? 0 : SELECT_USE_CACHE)); // No cache for MATCH
DBUG_EXECUTE("info",TEST_join(&join);); DBUG_EXECUTE("info",TEST_join(&join););
/* /*
Because filesort always does a full table scan or a quick range scan Because filesort always does a full table scan or a quick range scan
......
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