mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
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:
parent
48dd3e3f5a
commit
9903b729fd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue