fix sqlite test payload extension

This commit is contained in:
Adrian D'souza 2026-10-09 00:56:28 +05:30
parent b4a1166f4b
commit 095c7dce87
1 changed files with 1 additions and 1 deletions

View File

@ -901,7 +901,7 @@ mod tests {
for (index, (rowid, payload)) in rows.iter().enumerate() {
let mut cell = varint(payload.len() as u64);
cell.extend(varint(*rowid));
cell.extend(payload);
cell.extend(*payload);
end -= cell.len();
page[end..end + cell.len()].copy_from_slice(&cell);
let pointer = base + 8 + index * 2;