Skip to content

add tests for storing max integers (change FileId to signed)

Lars Wirzenius requested to merge liw/integer-test into main

Change FileId to i64, and add test to verify i64::MAX can be stored in SQLite correctly. This is a breaking change, but shouldn't matter, as nobody has more than i64::MAX entries in a backup yet.

Add test to verify u64::MAX in a FilesystemEntry field can likewise be store, and retrieved, in SQLite correctly.

I believe this closes #188 (closed).

I will merge this on Friday, unless discussion is ongoing.

Edited by Lars Wirzenius

Merge request reports