summaryrefslogtreecommitdiff
path: root/myisam/fulltext.h
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2003-01-21 19:24:34 +0100
committerserg@serg.mysql.com <>2003-01-21 19:24:34 +0100
commit0dff67cba243fa260bf901c443c7abaaa68567a9 (patch)
tree2c7d9d1b4d148a8335c0f806f6c7bc3dcab8e3ce /myisam/fulltext.h
parent241f4143e87682942e90ac97b9965f2c77b107b2 (diff)
downloadmariadb-git-0dff67cba243fa260bf901c443c7abaaa68567a9.tar.gz
Two-level index structure for FULLTEXT indexes
Diffstat (limited to 'myisam/fulltext.h')
-rw-r--r--myisam/fulltext.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/myisam/fulltext.h b/myisam/fulltext.h
index 39801c1c87e..ec267eb3e86 100644
--- a/myisam/fulltext.h
+++ b/myisam/fulltext.h
@@ -21,19 +21,16 @@
#include "myisamdef.h"
#include "ft_global.h"
-/* shoudn't be def'ed when linking with mysql */
-#undef EVAL_RUN
-
#define HA_FT_WTYPE HA_KEYTYPE_FLOAT
#define HA_FT_WLEN 4
-#ifdef EVAL_RUN
-#define FT_SEGS 3
-#else /* EVAL_RUN */
#define FT_SEGS 2
-#endif /* EVAL_RUN */
+
+#define ft_sintXkorr(A) mi_sint4korr(A)
+#define ft_intXstore(T,A) mi_int4store(T,A)
extern const HA_KEYSEG ft_keysegs[FT_SEGS];
int _mi_ft_cmp(MI_INFO *, uint, const byte *, const byte *);
int _mi_ft_add(MI_INFO *, uint, byte *, const byte *, my_off_t);
int _mi_ft_del(MI_INFO *, uint, byte *, const byte *, my_off_t);
+