summaryrefslogtreecommitdiff
path: root/sql/ha_myisammrg.cc
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com/april.(none)>2006-10-08 22:34:32 +0500
committerunknown <svoj@mysql.com/april.(none)>2006-10-08 22:34:32 +0500
commit9397becc6d9c5af98ba1fd89a699b389d83a91c3 (patch)
treeda5a18dedf626ceed63d662ff22622be7dbe2b16 /sql/ha_myisammrg.cc
parent12fb87ac28467fc112c87a8b7d437a4bd5dc6166 (diff)
downloadmariadb-git-9397becc6d9c5af98ba1fd89a699b389d83a91c3.tar.gz
After merge fix.
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 23af831cdf6..a4f23cd3cf0 100644
--- a/sql/ha_myisammrg.cc
+++ b/sql/ha_myisammrg.cc
@@ -335,7 +335,7 @@ void ha_myisammrg::info(uint flag)
with such a number, it'll be an error later anyway.
*/
bzero((char*) table->key_info[0].rec_per_key,
- sizeof(table->key_info[0].rec_per_key) * table->key_parts);
+ sizeof(table->key_info[0].rec_per_key) * table->s->key_parts);
#endif
memcpy((char*) table->key_info[0].rec_per_key,
(char*) info.rec_per_key,