Skip to content

Conversation

@sgress454
Copy link
Owner

Switches the order of precedence in the like op so that it checks for comaprison_expr before literal, so that it if a string concatenation like

SELECT * FROM file WHERE path LIKE 'C:' || CHAR(92) || 'Users' || CHAR(92) || 'example.txt';

is present, it grabs the whole thing instead of just stopping at 'C:' and leaving an unparsed || CHAR(92) || 'Users' || CHAR(92) || 'example.txt'; at the end of the query causing a syntax error.

@sgress454 sgress454 merged commit 4be00dc into 5.3.10-plus Aug 25, 2025
@sgress454 sgress454 deleted the sgress454/allow-string-concat-in-like branch August 25, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants