0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-21 16:38:11 +00:00
Files
libsql/bottomless-cli
Piotr Sarna 6ac769eb48 bottomless: make WAL checksums work across matching endianness
This is a partial fix to #598 - it makes the checksumming
work as long as it's produced and checked on an arch with matching
endianness. Most of modern machines, including the ones we run on
our platform, CI, and home devices are just little endian anyway.
The proper fix is to also store the checksum computation endianness
in our .meta file, just like SQLite stores it in the WAL header,
but that's not implemented yet.

Tested locally.
2023-11-14 11:24:39 +01:00
..