summaryrefslogtreecommitdiff
path: root/sql/ha_myisammrg.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-03-12 11:38:22 +0200
committermonty@hundin.mysql.fi <>2002-03-12 11:38:22 +0200
commita01775c5ebf9d6a8386621f01408514f82bab1da (patch)
treec217663c9f7a4fba0c5a00acb72b3e980954f780 /sql/ha_myisammrg.cc
parented8fc0b0c647dbcd86ecc09f8c15ecd82c0e223e (diff)
downloadmariadb-git-a01775c5ebf9d6a8386621f01408514f82bab1da.tar.gz
Added help for --local-infile
Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys. Allow SET PASSWORD for anonymous user
Diffstat (limited to 'sql/ha_myisammrg.cc')
-rw-r--r--sql/ha_myisammrg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_myisammrg.cc b/sql/ha_myisammrg.cc
index 9499c42fdc9..e5fb0310a36 100644
--- a/sql/ha_myisammrg.cc
+++ b/sql/ha_myisammrg.cc
@@ -169,7 +169,7 @@ void ha_myisammrg::info(uint flag)
deleted = (ha_rows) info.deleted;
data_file_length=info.data_file_length;
errkey = info.errkey;
- table->keys_in_use=(((key_map) 1) << table->keys)- (key_map) 1;
+ table->keys_in_use= set_bits(key_map, table->keys);
table->db_options_in_use = info.options;
table->is_view=1;
mean_rec_length=info.reclength;