[Webkit-unassigned] [Bug 60746] IndexedDB chooses wrong record on PREV_NO_DUPLICATE index cursor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 20 02:07:34 PDT 2011


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





--- Comment #5 from Hans Wennborg <hans at chromium.org>  2011-05-20 02:07:34 PST ---
(From update of attachment 93785)
View in context: https://bugs.webkit.org/attachment.cgi?id=93785&action=review

> Source/WebCore/storage/IDBSQLiteBackingStore.cpp:972
> +        sql += "IndexData.keyString DESC, IndexData.keyDate DESC, IndexData.keyNumber DESC, IndexData.id ASC";

This will be hard to do for the LeveLDB back-end, and that makes me wonder if it's worth matching Mozilla on this if it's not specified how it should work.

Also, for an index cursor that allows duplicates, doesn't this change mean that the order in which a reverse iterator sees the keys is not the reverse of what a forwarding iterator would see? That seems a little bit odd to me at least.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list