summaryrefslogtreecommitdiff
path: root/myisam/ft_boolean_search.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-03-27 00:50:54 +0200
committerunknown <monty@hundin.mysql.fi>2002-03-27 00:50:54 +0200
commit6229932f1010c270e2319d8dc3be9670d016546e (patch)
treeb4d119bd6bbc308bc83082b866042975b6b7f35c /myisam/ft_boolean_search.c
parent91443b080b7858e69360d598061b4b8a32211aac (diff)
downloadmariadb-git-6229932f1010c270e2319d8dc3be9670d016546e.tar.gz
support for unsigned FLOAT/DOUBLE
Docs/manual.texi: Updated STRCMP and UNION information configure.in: Portability fix include/config-win.h: Fix for WIN64 include/mysql_com.h: Cleanup libmysql/libmysql.c: Cleanup myisam/ft_boolean_search.c: Cleanup mysys/array.c: Cleanup mysys/thr_alarm.c: Cleanup sql/ha_innodb.cc: Cleanup
Diffstat (limited to 'myisam/ft_boolean_search.c')
-rw-r--r--myisam/ft_boolean_search.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/myisam/ft_boolean_search.c b/myisam/ft_boolean_search.c
index 6038a988db6..9b51601be40 100644
--- a/myisam/ft_boolean_search.c
+++ b/myisam/ft_boolean_search.c
@@ -412,7 +412,6 @@ float ft_boolean_find_relevance(FT_INFO *ftb, byte *record, uint length)
FTB_EXPR *ftbe;
FT_SEG_ITERATOR ftsi;
const byte *end;
- uint i;
my_off_t docid=ftb->info->lastpos;
if (docid == HA_POS_ERROR)
@@ -420,7 +419,7 @@ float ft_boolean_find_relevance(FT_INFO *ftb, byte *record, uint length)
if (!ftb->queue.elements)
return 0;
-#if 0
+#if NOT_USED
if (ftb->state == READY || ftb->state == INDEX_DONE)
ftb->state=SCAN;
else if (ftb->state != SCAN)