mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 12:04:21 +01:00
In sqlite3, before arithmetic operation is done, it first checks if the operation dosent overflow and then does the operation. In case it overflows it would covert the arguments into floats and then does the operation as [per code](https://github.com/sqlite/sqlite/blob/ded37f337b 7b2e916657a83732aaec40eb146282/src/vdbe.c#L1875) . I have done the same behaviour for limbo. Closes #612