Chromium Code Reviews
DescriptionClose ArchivedDatabase connection after transaction rollback.
ArchivedDatabase::Init attempts to initialize its database tables
inside of a transaction. If the initialization fails, the transaction
object's destructor attempts to perform a rollback which fails because
the database connection has been closed.
Ensure that the transaction object is always destructed before
database closure by moving the table initialization into a separate
method.
BUG=None
TEST=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145124
Patch Set 1 #
Total comments: 1
Patch Set 2 : DoInitTransaction() -> InitTables. #
Messages
Total messages: 8 (0 generated)
|
||||||||||||||||||||||||||||