diff options
author | pem@mysql.comhem.se <> | 2004-02-11 18:21:55 +0100 |
---|---|---|
committer | pem@mysql.comhem.se <> | 2004-02-11 18:21:55 +0100 |
commit | f9e73c771684df31b89262cd4f18cc1e0f32849b (patch) | |
tree | f215891d215ef5e3a173f8641ca3adbcca8f5835 /sql/opt_range.h | |
parent | c8585f3283816dea04c28774ef87537521b6aa80 (diff) | |
download | mariadb-git-f9e73c771684df31b89262cd4f18cc1e0f32849b.tar.gz |
Post-merge fixes.
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index 40a0e259ddd..1e5f58bc1f5 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -304,17 +304,14 @@ class SQL_SELECT :public Sql_alloc { }; -class FT_SELECT: public QUICK_SELECT { +class FT_SELECT: public QUICK_RANGE_SELECT { public: - FT_SELECT(THD *thd, TABLE *table, uint key): - QUICK_SELECT (thd, table, key, 1) { init(); } + FT_SELECT(THD *thd, TABLE *table, uint key) : + QUICK_RANGE_SELECT (thd, table, key, 1) { init(); } - int init() { return error= file->ft_init(); } - int get_next() { return error= file->ft_read(record); } + int init() { return error=file->ft_init(); } + int get_next() { return error=file->ft_read(record); } + int get_type() { return QS_TYPE_FULLTEXT; } }; - -QUICK_RANGE_SELECT *get_quick_select_for_ref(THD *thd, TABLE *table, - struct st_table_ref *ref); - #endif |