summaryrefslogtreecommitdiff
path: root/myisam/ft_boolean_search.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-11-24 14:49:03 +0100
committerunknown <serg@serg.mylan>2003-11-24 14:49:03 +0100
commitfbe6f32ae27019ef4f7437fd209826e879d87920 (patch)
treea3957442018235bbb00afa3c38c82adc2701141f /myisam/ft_boolean_search.c
parente433590cb23f0cd6192a2ab20c9f9190c4ee34d7 (diff)
downloadmariadb-git-fbe6f32ae27019ef4f7437fd209826e879d87920.tar.gz
WL#1172 optimization reverted
(see fulltext.test)
Diffstat (limited to 'myisam/ft_boolean_search.c')
-rw-r--r--myisam/ft_boolean_search.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/myisam/ft_boolean_search.c b/myisam/ft_boolean_search.c
index aa41bc11513..f48a12b6f28 100644
--- a/myisam/ft_boolean_search.c
+++ b/myisam/ft_boolean_search.c
@@ -168,11 +168,7 @@ static void _ftb_parse_query(FTB *ftb, byte **start, byte *end,
ftbw->word[0]=w.len;
if (param.yesno > 0) up->ythresh++;
queue_insert(& ftb->queue, (byte *)ftbw);
-#ifdef TO_BE_REMOVED
- /* after removing the following line,
- ftb->with_scan handling can be simplified (no longer a bitmap) */
ftb->with_scan|=(param.trunc & FTB_FLAG_TRUNC);
-#endif
break;
case 2: /* left bracket */
ftbe=(FTB_EXPR *)alloc_root(&ftb->mem_root, sizeof(FTB_EXPR));