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

sql: listoption_indexer: handle the case with one empty filter correctly #82

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

moio
Copy link
Contributor

@moio moio commented Jul 2, 2024

Integration tests revealed this case result in error 500 because an incorrect query is produced in this case (WHERE ()).

This adds a test and addresses the case.

@moio moio requested a review from a team as a code owner July 2, 2024 16:25
Copy link
Contributor

@tomleb tomleb left a comment

Choose a reason for hiding this comment

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

LGTM

Verified

This commit was signed with the committer’s verified signature.
moio Silvio Moioli
Signed-off-by: Silvio Moioli <silvio@moioli.net>
Copy link
Contributor

@ericpromislow ericpromislow left a comment

Choose a reason for hiding this comment

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

New test fails without implementation change, passes with. LGTM

@moio moio merged commit 234a582 into rancher:master Jul 5, 2024
1 check passed
@moio moio deleted the empty_filter branch July 5, 2024 07:19
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