summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-11-09 19:15:46 +0100
committerunknown <serg@serg.mysql.com>2002-11-09 19:15:46 +0100
commit8c14ed4230fb808c4bc5d7664345a909eb190520 (patch)
tree21e2fdd427d6bad1b8c076586fc0f2e0860b69eb /sql
parent811e225933dece01ede7d3b9acb98159b207345b (diff)
downloadmariadb-git-8c14ed4230fb808c4bc5d7664345a909eb190520.tar.gz
IGNORE/USE INDEX now work with HA_EXTRA_KEYREAD
BitKeeper/etc/ignore: Added depcomp to the ignore list
Diffstat (limited to 'sql')
-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 6b445442058..fb120442385 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -1834,6 +1834,7 @@ bool setup_tables(TABLE_LIST *tables)
DBUG_RETURN(1);
table->table->keys_in_use_for_query &= ~map;
}
+ table->table->used_keys &= table->table->keys_in_use_for_query;
}
if (tablenr > MAX_TABLES)
{