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

IndexedDB fixes #28

Merged
merged 3 commits into from
Sep 10, 2024
Merged

IndexedDB fixes #28

merged 3 commits into from
Sep 10, 2024

Conversation

sgwilym
Copy link
Contributor

@sgwilym sgwilym commented Sep 10, 2024

  • Calls to KvBatch.commit were not being bound properly when used in a prefixed driver.
  • Calling a cursor with prevunique / nextunique caused problems in Safari because these are only allowed on indexes. We don't need it, so just use prev / next, respectively.
  • An invalid IndexedDB bound was being created in certain list operations with a prefix supplied. My fix is to use a closed upper bound if the start and end of the bound are the same.

@sgwilym sgwilym added the bug Something isn't working label Sep 10, 2024
@sgwilym sgwilym merged commit 94c9cbc into main Sep 10, 2024
1 check passed
@sgwilym sgwilym deleted the idb-fixes branch September 10, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant