mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-05-21 16:38:11 +00:00
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.