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
This commit is contained in:
parent
d2771b82a4
commit
85bfbcd7ad
@ -16,3 +16,4 @@ jani@hynda.mysql.fi
|
||||
miguel@hegel.local
|
||||
arjen@fred.bitbike.com
|
||||
sinisa@rhols221.adsl.netsonic.fi
|
||||
serg@sergbook.mysql.com
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user