summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2002-11-16 21:58:09 +0200
committerunknown <monty@mashka.mysql.fi>2002-11-16 21:58:09 +0200
commitc5dc4ab3cfbf090ef46eea3a6f1fbf9080b7cd84 (patch)
tree4d0653fcf019781a59d81a33fb205e435f5f161e /sql/ha_myisam.cc
parent2c349012b0dd6b51021b7c6e2115081e0c9b24df (diff)
parentbd1c2d65c46a433e4ea53858584dc987b1b75658 (diff)
downloadmariadb-git-c5dc4ab3cfbf090ef46eea3a6f1fbf9080b7cd84.tar.gz
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
sql/ha_innodb.cc: Auto merged sql/ha_myisam.cc: Auto merged sql/sql_delete.cc: Auto merged sql/sql_update.cc: Auto merged
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index e9b1a454046..0c472ea6a45 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -908,7 +908,7 @@ void ha_myisam::info(uint flag)
if (table->key_parts)
memcpy((char*) table->key_info[0].rec_per_key,
(char*) info.rec_per_key,
- sizeof(ulong)*table->key_parts);
+ sizeof(table->key_info[0].rec_per_key)*table->key_parts);
raid_type=info.raid_type;
raid_chunks=info.raid_chunks;
raid_chunksize=info.raid_chunksize;