summaryrefslogtreecommitdiff
path: root/storage/myisam/mi_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisam/mi_log.c')
-rw-r--r--storage/myisam/mi_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/mi_log.c b/storage/myisam/mi_log.c
index f6bbaab1f87..5af4a057a95 100644
--- a/storage/myisam/mi_log.c
+++ b/storage/myisam/mi_log.c
@@ -149,7 +149,7 @@ void _myisam_log_record(enum myisam_log_commands command, MI_INFO *info,
blob != end ;
blob++)
{
- memcpy_fixed((uchar*) &pos, record+blob->offset+blob->pack_length,
+ memcpy(&pos, record+blob->offset+blob->pack_length,
sizeof(char*));
(void) mysql_file_write(myisam_log_file, pos, blob->length, MYF(0));
}