branches/zip: Bug fix

page_zip_write_trx_id_and_roll_ptr(): Write roll_ptr after trx_id,
not over it.
This commit is contained in:
marko 2006-03-22 10:31:18 +00:00
parent 48dd3e3f5a
commit 9903b729fd

View file

@ -2293,7 +2293,7 @@ page_zip_write_trx_id_and_roll_ptr(
#if DATA_ROLL_PTR_LEN != 7
# error "DATA_ROLL_PTR_LEN != 7"
#endif
mach_write_to_7(field, roll_ptr);
mach_write_to_7(field + DATA_TRX_ID_LEN, roll_ptr);
memcpy(storage, field, DATA_TRX_ID_LEN + DATA_ROLL_PTR_LEN);
}