[Webkit-unassigned] [Bug 138504] [IndexedDB] array index keys are concated across cursor lifetime

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 7 12:41:02 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=138504

Chris Anderson <jchris at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[IndexedDB] array index     |[IndexedDB] array index
                   |keys are flattened and      |keys are concated across
                   |concated                    |cursor lifetime

--- Comment #3 from Chris Anderson <jchris at gmail.com> ---
Maybe this helps diagnose or helps others with workarounds:

In my case I know all my keys are 2 element arrays. And the cursor starts with a new correct key on the first row of every transaction.

So if your keys are big, paginate. And know how many elements are in your array keys, and then you can run key.splice(-n) where n is your array key length.

It doesn't flatten it just concats.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141107/0086f095/attachment-0002.html>


More information about the webkit-unassigned mailing list