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

Query with not unique index matches only the first condition [moved] #64

Closed
lvca opened this issue Dec 10, 2012 · 0 comments
Closed

Query with not unique index matches only the first condition [moved] #64

lvca opened this issue Dec 10, 2012 · 0 comments

Comments

@lvca
Copy link
Member

lvca commented Dec 10, 2012

This is Issue 64 moved from a Google Code project.
Added by 2010-07-14T19:45:03.000Z by daiyam99@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).

Original labels: Type-Defect, Priority-Medium, v1.0rc3

Original description

Hello Luca,

I've discovered your database few days ago and I like some of its features.

I've found a problem when I query a database on which I have a not unique index.
If I do a select on the property with not unique index and on another property, the condition on the second property is ignored.

I've include a patch for the IndexTest.java file so you can test it.
It's just some few more tests which are doing:
 - remove the index on 'nick'
 - do some queries
 - add a not unique index on 'nick'
 - redo the same queries (fail here)
 - add a not unique index on 'name'
 - redo the same queries

I hope that will help.

Regards,
Baptiste

PS: I was wondering if it's possible to contribute to the project?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant