-
Notifications
You must be signed in to change notification settings - Fork 297
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
ForestDB: Emitting dictionary key causes error #479
Comments
I think you put the parameters to What you've done shouldn't crash (though it's unlikely to do anything useful), but since I should figure out why this is crashing and make it not crash, but if you fix your |
Yup, that was a bonehead move on my part :), thanks for catching the error on my part! |
That's error |
Actually it was probably a too-long key; currently ForestDB's maximum key length is 3840 bytes ( |
The latest commit (4884ae7) logs a specific warning in this case, and just skips emitting that one key/value pair instead of aborting the whole index update. |
When running a query against a FORESTDB couchbase lite db (new or upgraded, happens on both), getting a "FORESTDB ERROR -1" when calling run on the CBLQuery object to get the CBLQueryEnumerator.
Specifically:
creates:
The view creation code looks like this:
(obviously, this should be open against the forestdb branch)
The text was updated successfully, but these errors were encountered: