[Webkit-unassigned] [Bug 25711] HTML5 Database becomes locked if a transaction is in progress when the page is refreshed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 28 12:57:47 PDT 2009


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





------- Comment #12 from benm at google.com  2009-05-28 12:57 PDT -------
Hi Michael,

> 
> Do you actually need a custom busyHandler? The default busy handler in sqlite
> has reasonable backoff logic built in (see sqliteDefaultBusyCallback). So I
> wonder if you can accomplish the same thing with less code in webcore... just
> database.setBusyTimeout(30seconds).

Ah, I see. I wasn't aware of sqliteDefaultBusyCallback and that that was how
the setBusyTimeout function was implemented. It seems to work fine, so I'll
send a new patch to use it instead.

Thanks for the tip!


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



More information about the webkit-unassigned mailing list