summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-10-24 22:44:48 +0200
committerunknown <serg@serg.mylan>2003-10-24 22:44:48 +0200
commit4e5f086b59a07914c9484c10cc74788858a3cc0b (patch)
treef568d21474173997b961d12647e250178e7a7942 /sql/ha_myisam.cc
parent6b516a37abb1e0a9b1e8dfd65f274903ab1e27e0 (diff)
downloadmariadb-git-4e5f086b59a07914c9484c10cc74788858a3cc0b.tar.gz
fixes to Bitmap class
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index ea356a4f17c..a23e4c55618 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -1023,7 +1023,8 @@ void ha_myisam::info(uint flag)
ref_length=info.reflength;
table->db_options_in_use = info.options;
block_size=myisam_block_size;
- table->keys_in_use.set_prefix(table->keys).intersect(info.key_map);
+ table->keys_in_use.set_prefix(table->keys);
+ table->keys_in_use.intersect(info.key_map);
table->keys_for_keyread= table->keys_in_use;
table->keys_for_keyread.subtract(table->read_only_keys);
table->db_record_offset=info.record_offset;