summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index c6339c2c34f..939ec003aca 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -2128,7 +2128,7 @@ get_best_combination(JOIN *join)
have a 'normal' value or a NULL value.
*/
j->type=JT_CONST;
- if (join->const_tables == tablenr)
+ if (join->const_tables == tablenr && !form->fulltext_searched)
{
join->const_tables++;
join->const_table_map|=form->map;