Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libsql: error on invalid frame_no on wal read
This prevents a potential panic that can happen in our ffi code when it expects a NonZero value but the input type into the unsafe function is a u32, meaning the compiler will not enforce the value and will result in a panic. This changes it so that when the code is called via the sys crate safe code it will return a sqlite failure. Closes #1868
- Loading branch information