diff options
author | unknown <serg@sergbook.mysql.com> | 2002-05-25 20:59:50 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2002-05-25 20:59:50 +0200 |
commit | 85bfbcd7adb594a6cf4704a5f0ff68affd22d349 (patch) | |
tree | 6624e920db6bb88012db2e867d815d74a9812796 /sql | |
parent | d2771b82a48ae4a0548daffba5961c5b345f019c (diff) | |
download | mariadb-git-85bfbcd7adb594a6cf4704a5f0ff68affd22d349.tar.gz |
quick fix for some optimizer glitch (it appears as ft+const bug, but it, probably, isn't)
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql')
-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; |