core/mvcc/logical-log: change order of Data size in InsertRow

This commit is contained in:
Pere Diaz Bou
2025-09-22 13:25:46 +02:00
parent 4cc88ee2bb
commit 2f4426fc33

View File

@@ -83,8 +83,8 @@ impl LogRecordType {
///
/// Insert:
/// * Payload length -> u64
/// * Data size -> varint
/// * Rowid -> varint
/// * Data size -> varint
/// * Data -> [u8] (data size length)
fn serialize(&self, buffer: &mut Vec<u8>, row_version: &RowVersion) {
buffer.extend_from_slice(&row_version.row.id.table_id.to_be_bytes());