summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-11-09 19:27:28 +0100
committerunknown <serg@serg.mysql.com>2002-11-09 19:27:28 +0100
commit51ad8d12d729de559082b35cd5cd1d3ffd1245a1 (patch)
tree9c6220f28c17e47d47999739488cef272093ffc4 /sql/sql_base.cc
parent05136a90e86b3e6949660fb8d5fe551e96c81ac8 (diff)
parent6bdd7e38d85a1bbe94c41b9eed10b4b352e2a1c5 (diff)
downloadmariadb-git-51ad8d12d729de559082b35cd5cd1d3ffd1245a1.tar.gz
merged
BitKeeper/etc/ignore: auto-union
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index ec2e22d2a5d..cf41d851137 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -1844,6 +1844,7 @@ bool setup_tables(TABLE_LIST *tables)
DBUG_RETURN(1);
table->keys_in_use_for_query &= ~map;
}
+ table->used_keys &= table->keys_in_use_for_query;
if (table_list->shared)
{
/* Clear query_id that may have been set by previous select */