[Webkit-unassigned] [Bug 77060] IndexedDB: Key generators not rolled back if insertion fails or is aborted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 30 15:23:53 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=77060
--- Comment #2 from Joshua Bell <jsbell at chromium.org> 2012-01-30 15:23:53 PST ---
>From a preliminary glance, it looks like the fix should just require a call to IDBObjectStoreBackendImpl::resetAutoIncrementKeyCache() in the failure cases within IDBObjectStoreBackendImpl::putInternal()
(The sad news is that our key generator "state" is pretty sucktastic - resetAutoIncrementKeyCache() just invalidates a cache. When the cache is invalidated, we populate it with a table scan. Yuck. But it works.)
--
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