summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-11-04 21:00:46 +0200
committerunknown <bell@sanja.is.com.ua>2003-11-04 21:00:46 +0200
commitc96128720bcb2e13b92f3f7c48933c742bddd058 (patch)
tree62c49004f3ea5d4d468cc203abc264cd20ac6a3e /sql
parentc5982decfe112a1c1d66a5c168e32ca5a0aa249e (diff)
parentc1da7745ce8f875fd218eef8cfe465ffe19c0d36 (diff)
downloadmariadb-git-c96128720bcb2e13b92f3f7c48933c742bddd058.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_select.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 091bde26b0a..c7f9de2ef6d 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -2407,6 +2407,8 @@ add_ft_keys(DYNAMIC_ARRAY *keyuse_array,
keyuse.key = cond_func->key;
keyuse.keypart= FT_KEYPART;
keyuse.used_tables=cond_func->key_item()->used_tables();
+ keyuse.optimize= 0;
+ keyuse.keypart_map= 0;
VOID(insert_dynamic(keyuse_array,(gptr) &keyuse));
}