summaryrefslogtreecommitdiff
path: root/myisam/mi_statrec.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-06-26 10:23:50 +0300
committerunknown <monty@hundin.mysql.fi>2001-06-26 10:23:50 +0300
commit237b4bed6046e39a7118b834db6952964712eb7a (patch)
treec0fdcacb616884cc66417017b1d2de4754d92d7f /myisam/mi_statrec.c
parent743c24118bcca8cba12834ce43d4bacfca9556f4 (diff)
downloadmariadb-git-237b4bed6046e39a7118b834db6952964712eb7a.tar.gz
Fixed length rows should not use row checksum in MyISAM tables
Fixed bug in handling of packed MyISAM keys myisam/mi_create.c: Fixed length rows should not use row checksum myisam/mi_search.c: Fixed bug in handling packed keys. myisam/mi_statrec.c: Fixed bug when using --checksum on fixed length rows
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;
}