summaryrefslogtreecommitdiff
path: root/sql/opt_ft.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/opt_ft.h')
-rw-r--r--sql/opt_ft.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_ft.h b/sql/opt_ft.h
index dcbbb8abcec..b055edc107c 100644
--- a/sql/opt_ft.h
+++ b/sql/opt_ft.h
@@ -29,7 +29,7 @@ public:
TABLE_REF *ref;
FT_SELECT(TABLE *table, TABLE_REF *tref) :
- QUICK_SELECT (table,tref->key,1), ref(tref) {}
+ QUICK_SELECT (table,tref->key,1), ref(tref) { init(); }
int init() { return error=file->ft_init(); }
int get_next() { return error=file->ft_read(record); }