Skip to content

Conversation

@kiss034
Copy link
Contributor

@kiss034 kiss034 commented Dec 15, 2023

Hi,

There is an error related to my previous change (#3915). A ClassCastException happens in the IndexCondition.cloneWithIndexColumns() method, if

  1. the query contains a compound in condition, but the columns are in a wrong order according to the indexes on the table
  2. the query contains ? placeholders and the values are passed as prepared statement parameters.

This pull request introduces new tests and fixes the issue.

@grandinj
Copy link
Contributor

Nice! thanks!

@grandinj grandinj merged commit 5b62710 into h2database:master Dec 15, 2023
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