[Webkit-unassigned] [Bug 27966] Race condition in the database code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 10 19:23:59 PDT 2009


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


Dumitru Daniliuc <dumi at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34512|review?                     |
               Flag|                            |
  Attachment #34512|0                           |1
        is obsolete|                            |
  Attachment #34535|                            |review?
               Flag|                            |




--- Comment #19 from Dumitru Daniliuc <dumi at chromium.org>  2009-08-10 19:23:56 PDT ---
Created an attachment (id=34535)
 --> (https://bugs.webkit.org/attachment.cgi?id=34535)
patch

Addressed Michael's comments. Also, Michael suggested that it might be better
to make SQLTransaction::lockAcquire() schedule an immediate task on the DB
thread for SQLTransaction::openTransactionAndPreflight(), instead of directly
calling this method. I agreed and made this change too, by adding a bool
parameter to Database::scheduleTransactionStep() that defaults to false (true =
scheduleImmediateTask(), false = scheduleTask()).

-- 
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