Skip to content
New issue

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

Fuzzer issue #5984 no 25 #6107

Merged
merged 2 commits into from
Feb 7, 2023
Merged

Conversation

LindsayWray
Copy link

Addresses fuzzer issue #5984 no 25. It seemed the C/C++ API query verification round trip failed when building back to string

Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Looks good - one minor comment:

test/api/test_api.cpp Outdated Show resolved Hide resolved
@Mytherin Mytherin merged commit a038924 into duckdb:master Feb 7, 2023
@PedroTadim
Copy link
Contributor

The query:
con.SendQuery("SELECT 1 WHERE 1 BETWEEN (decode('a'::BLOB) COLLATE ur) AND 0;");

Still gives me an error:

ABORT THROWN BY INTERNAL EXCEPTION: Parsed statement verification failed. Query:
SELECT 1 WHERE (1 BETWEEN decode('a'::BLOB) COLLATE ur AND 0)

Error: Parser Error: syntax error at or near "COLLATE"
LINE 1: ...T 1 WHERE (1 BETWEEN decode('a'::BLOB) COLLATE ur AND 0)
                                                  ^

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.

None yet

3 participants