Home | History | Annotate | Download | only in webdatabase

Lines Matching defs:transaction

44 static String getDatabaseIdentifier(SQLTransactionBackend* transaction)
46 DatabaseBackend* database = transaction->database();
75 void SQLTransactionCoordinator::acquireLock(SQLTransactionBackend* transaction)
79 String dbIdentifier = getDatabaseIdentifier(transaction);
88 info.pendingTransactions.append(transaction);
92 void SQLTransactionCoordinator::releaseLock(SQLTransactionBackend* transaction)
97 String dbIdentifier = getDatabaseIdentifier(transaction);
103 if (transaction->isReadOnly()) {
104 ASSERT(info.activeReadTransactions.contains(transaction));
105 info.activeReadTransactions.remove(transaction);
107 ASSERT(info.activeWriteTransaction == transaction);
126 // Transaction phase 4 cleanup. See comment on "What happens if a
127 // transaction is interrupted?" at the top of SQLTransactionBackend.cpp.
138 // Transaction phase 3 cleanup. See comment on "What happens if a
139 // transaction is interrupted?" at the top of SQLTransactionBackend.cpp.
141 RefPtr<SQLTransactionBackend> transaction = info.pendingTransactions.first();
142 transaction->notifyDatabaseThreadIsShuttingDown();