From 85bfbcd7adb594a6cf4704a5f0ff68affd22d349 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 25 May 2002 20:59:50 +0200 Subject: [PATCH] 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 --- BitKeeper/etc/logging_ok | 1 + sql/sql_select.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index bd35c33892e..04eef3cd442 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -16,3 +16,4 @@ jani@hynda.mysql.fi miguel@hegel.local arjen@fred.bitbike.com sinisa@rhols221.adsl.netsonic.fi +serg@sergbook.mysql.com 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;