diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-02-03 14:35:24 +0400 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-02-03 14:35:24 +0400 |
commit | 453a32e92720f4b3bb504d88c70433333190f174 (patch) | |
tree | 6feecf6c709763c096461a025358cc0a5abcf3fa /sql/opt_range.h | |
parent | 715e7a63a6f9a1b278c03f13b4580194161b2ed4 (diff) | |
download | mariadb-git-453a32e92720f4b3bb504d88c70433333190f174.tar.gz |
Code cleanup:
we don't need opt_range.h and opt_range.cc files at all.
BitKeeper/deleted/.del-opt_ft.cc~2048ffa561f9c59:
Delete: sql/opt_ft.cc
BitKeeper/deleted/.del-opt_ft.h~24aac1d29304599a:
Delete: sql/opt_ft.h
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index c413b1f4021..bb1cd0f7513 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -134,6 +134,17 @@ class SQL_SELECT :public Sql_alloc { ha_rows limit, bool force_quick_range=0); }; + +class FT_SELECT: public QUICK_SELECT { +public: + FT_SELECT(THD *thd, TABLE *table, uint key): + QUICK_SELECT (thd, table, key, 1) { init(); } + + int init() { return error= file->ft_init(); } + int get_next() { return error= file->ft_read(record); } +}; + + QUICK_SELECT *get_quick_select_for_ref(THD *thd, TABLE *table, struct st_table_ref *ref); |