diff options
author | serg@sergbook.mysql.com <> | 2002-05-25 20:59:50 +0200 |
---|---|---|
committer | serg@sergbook.mysql.com <> | 2002-05-25 20:59:50 +0200 |
commit | 66b41d19c2620ce5eba82b728b32b503faf97e01 (patch) | |
tree | 6624e920db6bb88012db2e867d815d74a9812796 /sql/sql_select.cc | |
parent | fa5717b95028087ed22ff2a69b2ce1c80f852aba (diff) | |
download | mariadb-git-66b41d19c2620ce5eba82b728b32b503faf97e01.tar.gz |
quick fix for some optimizer glitch (it appears as ft+const bug, but it, probably, isn't)
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index c4383cbb09f..c92463d65bd 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; |