Fix 32-bit integers #94
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "whimsical-c4lic0/OF-DL:fix-32-bit-integers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Address #92
Just playing around with this, I had been concerned about it breaking the DB files, since the IDs are stored as integers there too. But it looks like SQLite's dynamic typing system can automatically handle the expansion from 32-bit to 64-bit integers, so everything looks good there.
I had the same concern as well since I only have a basic knowledge of sqlite types, but yeah, all integer like types result in the same sqlite type regardless of the size. For anyone curious, the docs detail this in section 3.1.1 on this page: https://www.sqlite.org/datatype3.html
Works for me.