mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-21 16:05:17 +01:00
core/mvcc/logical-log: change order of Data size in InsertRow
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user