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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/opt_ft.h b/sql/opt_ft.h
index b055edc107c..69b6b72f3fc 100644
--- a/sql/opt_ft.h
+++ b/sql/opt_ft.h
@@ -28,13 +28,14 @@ class FT_SELECT: public QUICK_SELECT {
public:
TABLE_REF *ref;
- FT_SELECT(TABLE *table, TABLE_REF *tref) :
- QUICK_SELECT (table,tref->key,1), ref(tref) { init(); }
+ FT_SELECT(THD *thd, TABLE *table, TABLE_REF *tref) :
+ QUICK_SELECT (thd, table, tref->key, 1), ref(tref) { init(); }
int init() { return error=file->ft_init(); }
int get_next() { return error=file->ft_read(record); }
};
-QUICK_SELECT *get_ft_or_quick_select_for_ref(TABLE *table, JOIN_TAB *tab);
+QUICK_SELECT *get_ft_or_quick_select_for_ref(THD *thd, TABLE *table,
+ JOIN_TAB *tab);
#endif