Closed jchaffraix-slack closed 7 months ago
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@ricklavoie merged this pull request in facebook/hhvm@c9c52eab33966eb991d8c7a063829277ca0227b5.
The extension was using the sqlite3_*_int API, which would truncate 64-bits int to 32-bits on some code paths. The fix is to use the 64-bits API variants constantly throughout the extension.
Added a test that manipulates int64 that are not representable as int32 to make sure we handle those correctly.