diff options
author | serg@serg.mysql.com <> | 2000-11-02 17:36:21 +0100 |
---|---|---|
committer | serg@serg.mysql.com <> | 2000-11-02 17:36:21 +0100 |
commit | ff8df2c42bc453ca8d89e9461347f75b571d2fb5 (patch) | |
tree | c2c98089c936e8e55bca2409f12161c8224087c8 /sql/opt_ft.h | |
parent | a896b8722b73f45e9d581a603c84bbcfe0d1b1cb (diff) | |
download | mariadb-git-ff8df2c42bc453ca8d89e9461347f75b571d2fb5.tar.gz |
Ill-minded FULLTEXT impilict initialization hack removed.
From now on FULLTEXT search is initialized expilictly in mysql_select()
Diffstat (limited to 'sql/opt_ft.h')
-rw-r--r-- | sql/opt_ft.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sql/opt_ft.h b/sql/opt_ft.h index 1c95a7cfea7..dcbbb8abcec 100644 --- a/sql/opt_ft.h +++ b/sql/opt_ft.h @@ -31,16 +31,7 @@ public: FT_SELECT(TABLE *table, TABLE_REF *tref) : QUICK_SELECT (table,tref->key,1), ref(tref) {} - int init() - { -#if 0 - if (cp_buffer_from_ref(ref)) // as ft-key doesn't use store_key's - return -1; -#endif - return error=file->ft_init(ref->key, - ref->key_buff, - ref->key_length); - } + int init() { return error=file->ft_init(); } int get_next() { return error=file->ft_read(record); } }; |