Skip to content

allow string concat in like#1

Merged
sgress454 merged 1 commit into5.3.10-plusfrom
sgress454/allow-string-concat-in-like
Aug 25, 2025
Merged

allow string concat in like#1
sgress454 merged 1 commit into5.3.10-plusfrom
sgress454/allow-string-concat-in-like

Conversation

@sgress454
Copy link
Copy Markdown
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.

1 participant