The apocalypse due to casting i64 timestamp to sql Integer(i32) #84

Open
opened 2026-04-08 20:33:01 +00:00 by CleverWild · 0 comments
Member

In file server\crates\arbiter-server\src\db\models.rs we have a custom sql type SqliteTimestamp that mimics sql's Integer.
If we continue to use this type as a timestamp, it will overflow at 2038.

In file `server\crates\arbiter-server\src\db\models.rs` we have a custom sql type `SqliteTimestamp` that mimics sql's `Integer`. If we continue to use this type as a timestamp, it will overflow at 2038.
CleverWild added the
Priority
Low
4
Reviewed
Pending
4
Kind
Bug
labels 2026-04-08 20:33:01 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MarketTakers/arbiter#84