summaryrefslogtreecommitdiff
path: root/myisam/mi_statrec.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_statrec.c')
-rw-r--r--myisam/mi_statrec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_statrec.c b/myisam/mi_statrec.c
index 7af8c304c0f..e0fce6d3e1c 100644
--- a/myisam/mi_statrec.c
+++ b/myisam/mi_statrec.c
@@ -73,7 +73,7 @@ int _mi_write_static_record(MI_INFO *info, const byte *record)
bzero((char*) temp,length);
if (my_pwrite(info->dfile, (byte*) temp,length,
info->state->data_file_length+
- info->s->base.pack_reclength,
+ info->s->base.reclength,
info->s->write_flag))
goto err;
}