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

Correctly update case insensitive queries on indexed string columns #3962

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

jedelbo
Copy link
Contributor

@jedelbo jedelbo commented Oct 2, 2020

@jedelbo jedelbo requested a review from finnschiermer October 2, 2020 13:00
@jedelbo jedelbo merged commit 34961c2 into master Oct 2, 2020
@jedelbo jedelbo deleted the je/fix-query-ins branch October 2, 2020 13:10
@@ -5,7 +5,7 @@

### Fixed
* <How to hit and notice issue? what was the impact?> ([#????](https://github.com/realm/realm-core/issues/????), since v?.?.?)
* None.
* If you make a case insignificant query on an indexed string column, it may fail in a way that results in a "No such key" exception. ([#6830](https://github.com/realm/realm-cocoa/issues/6830), since v6.0.0)
Copy link
Contributor

Choose a reason for hiding this comment

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

insignificant -> insensitive? @jedelbo

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we better describe under which conditions could it fail?

@hyouuu
Copy link

hyouuu commented Oct 3, 2020

Confirmed that it's fixed with a forked repo with the updated core. Thanks! (and surprising to me that it seems nobody else uses case insensitive search?!)

@hyouuu
Copy link

hyouuu commented Oct 6, 2020

There's another (much less frequent) crash that seems related to case insensitive search on indexed properties - could you help take a look @jedelbo ? realm/realm-swift#6836

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fatal Exception: RLMException "Key not found" when accessing filtered Results
4 participants