mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 20:14:21 +01:00
This PR fixes #666 Limbo was treating all single byte integers properly in `core/types.rs`, but when converted in `sqlite3_ondisk`, it was losing the sign for 8 bit integers, treating them all as unsigned. Sqlite3 specifies in their file format that the `1` record serial type is "Value is an 8-bit twos- complement integer." https://www.sqlite.org/fileformat.html We now properly match sqlite3's output   Closes #667