1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

backport Serg's fix of FT interface (BUG#6523)

This commit is contained in:
bell@sanja.is.com.ua
2004-11-16 22:58:02 +02:00
parent 27395a2fb1
commit bc5a9111d7
6 changed files with 21 additions and 3 deletions

View File

@ -154,7 +154,7 @@ class FT_SELECT: public QUICK_SELECT {
public:
FT_SELECT(THD *thd, TABLE *table, uint key):
QUICK_SELECT (thd, table, key, 1) { init(); }
~FT_SELECT() { file->ft_end(); }
int init() { return error= file->ft_init(); }
int get_next() { return error= file->ft_read(record); }
};