-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 'Fix
SELECT -9223372036854775808
result differs from SQLite' …
…from Krishna Vishal Closes #812 `-9223372036854775808` is `MIN_INT64`. So when we extract out the minus and try to parse the remainder it becomes greater than MAX_INT64 (9223372036854775807) and will trigger overflow, which converts the literal into `Real`. So we have to handle it as a special case. Reviewed-by: Kim Seon Woo (@seonWKim) Closes #814
- Loading branch information
Showing
1 changed file
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters