1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Code cleanup:

we don't need opt_range.h and opt_range.cc files at all.
This commit is contained in:
ram@gw.mysql.r18.ru
2004-02-03 14:35:24 +04:00
parent 8eb590a71e
commit c4728c276a
6 changed files with 17 additions and 84 deletions

View File

@ -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);