You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe I have an issue similar to #24 , where the original issue was that statements such as SELECT * FROM table WHERE id IN(0,-1,-2,-3) caused the list of numbers to be parsed as 0,-,1,-,2,-,3 I think the problem is only partly fixed, and a statement such as SELECT * FROM table WHERE id IN(0, -1, -2, -3) (note the spaces) will still exhibit the same issue.
I have been able to address this locally by changing line 127 of PHPSQLLexar.php from
but I am not familiar enough with the code to know if this is a viable fix.
The text was updated successfully, but these errors were encountered:
ugwind
changed the title
Negative numbers prefixes with a space are not parsed correctly
Negative numbers prefixed with a space are not parsed correctly
Jul 19, 2021
I believe I have an issue similar to #24 , where the original issue was that statements such as
SELECT * FROM table WHERE id IN(0,-1,-2,-3)
caused the list of numbers to be parsed as0,-,1,-,2,-,3
I think the problem is only partly fixed, and a statement such asSELECT * FROM table WHERE id IN(0, -1, -2, -3)
(note the spaces) will still exhibit the same issue.I have been able to address this locally by changing line 127 of PHPSQLLexar.php from
to
but I am not familiar enough with the code to know if this is a viable fix.
The text was updated successfully, but these errors were encountered: