summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-02-11 18:21:55 +0100
committerunknown <pem@mysql.comhem.se>2004-02-11 18:21:55 +0100
commitb5c8de4c835b493f28acfaca681e982046b8d818 (patch)
treef215891d215ef5e3a173f8641ca3adbcca8f5835 /sql/opt_range.h
parent6efd76f317be8fc5fd0a2d144a7c57506723c2ad (diff)
downloadmariadb-git-b5c8de4c835b493f28acfaca681e982046b8d818.tar.gz
Post-merge fixes.
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r--sql/opt_range.h15
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