pijul nest
guest [sign in]

Fixing a big-endian issue on pages with fixed-sized value: when splitting an internal node, the offset to the first child was not converted back from little-endian

pmeunier
Feb 10, 2024, 4:40 PM
PUIGM5NDNT5WCBC7QMBXOKY5N6GZGTMD55JOD6HWOX747RRF6EHQC

Dependencies

  • [2] TSMS6W4D Fully commented implementation of Sized nodes + massive cleanup
  • [3] QEUTVAZ4 Splitting btree::page

Change contents

  • replacement in sanakirja-core/src/btree/page/alloc.rs at line 233
    [2.31790][2.31790:31829]()
    Offsets::Slice(s) => s[0],
    [2.31790]
    [2.31829]
    Offsets::Slice(s) => u64::from_le(s[0]),