We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse Long.MIN_VALUE correctly for a query
Parser throws an exception
Use a query that check the value of a property using Long.MIN_VALUE For example: SELECT FROM V WHERE hs_3apoint >= -9223372036854775808
It appears the '-' is parsed first and then the number. Since 9223372036854775807 is the max long value, a parsing exception occurs.
The text was updated successfully, but these errors were encountered:
Hi @ErikShiken
Thank you very much for reporting, I'm checking it now
Thanks
Luigi
Sorry, something went wrong.
6ded5b4
hi @ErikShiken
I just pushed a fix to develop branch (3.0.x), it will be released with v 3.0.4
Now I'm backporting it to v 2.2.x
Fix parsing of Long.MIN_VALUE
ab08844
Resolves: #8365
luigidellaquila
No branches or pull requests
OrientDB Version: 2.2.29
Java Version: 1.8.0_72
OS: Windows 10
Expected behavior
Parse Long.MIN_VALUE correctly for a query
Actual behavior
Parser throws an exception
Steps to reproduce
Use a query that check the value of a property using Long.MIN_VALUE
For example:
SELECT FROM V WHERE hs_3apoint >= -9223372036854775808
It appears the '-' is parsed first and then the number. Since 9223372036854775807 is the max long value, a parsing exception occurs.
The text was updated successfully, but these errors were encountered: