diff options
author | serg@serg.mysql.com <> | 2001-10-09 14:53:54 +0200 |
---|---|---|
committer | serg@serg.mysql.com <> | 2001-10-09 14:53:54 +0200 |
commit | 3d3ef6528a48f5fba7bfcef10970c89bfb88e420 (patch) | |
tree | c39107b036ff091f557b03a1f37183735dcddbad /sql/handler.h | |
parent | 5a9a3e91e7a0732dc8428796c970ed0bdcc8b8c3 (diff) | |
download | mariadb-git-3d3ef6528a48f5fba7bfcef10970c89bfb88e420.tar.gz |
Boolean search passes _some_ tests
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sql/handler.h b/sql/handler.h index 16f7ba90eff..530c94a8b43 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -21,6 +21,8 @@ #pragma interface /* gcc class implementation */ #endif +#include <ft_global.h> + #ifndef NO_HASH #define NO_HASH /* Not yet implemented */ #endif @@ -201,7 +203,7 @@ public: time_t check_time; time_t update_time; ulong mean_rec_length; /* physical reclength */ - void *ft_handler; + FT_INFO *ft_handler; bool auto_increment_column_changed; handler(TABLE *table_arg) : table(table_arg),active_index(MAX_REF_PARTS), @@ -247,9 +249,9 @@ public: virtual int index_next_same(byte *buf, const byte *key, uint keylen); virtual int ft_init() { return -1; } - virtual void *ft_init_ext(uint inx,const byte *key, uint keylen, + virtual FT_INFO *ft_init_ext(uint mode,uint inx,const byte *key, uint keylen, bool presort) - { return (void *)NULL; } + { return NULL; } virtual int ft_read(byte *buf) { return -1; } virtual int rnd_init(bool scan=1)=0; virtual int rnd_end() { return 0; } |