Lines Matching refs:TRANSACTION
15 db.transaction(function(tx) {
76 executeStatement(tx, "BEGIN TRANSACTION;", "SQLITE_TRANSACTION");
112 db.transaction(function(tx) {
118 function(error) { logAndTerminateTest("Write transaction failed", error); },
119 function() { log("Write transaction succeeded."); });
126 function(error) { logAndTerminateTest("Read 'CREATE TABLE' transaction failed", error); });
129 db.transaction(createTableCallback,
130 function(error) { logAndTerminateTest("Write 'CREATE TABLE' transaction failed", error); });
132 function(error) { logAndTerminateTest("Read 'CREATE' transaction failed", error); });
135 db.transaction(createStatementsCallback,
136 function(error) { logAndTerminateTest("Write 'CREATE' transaction failed", error); });
138 function(error) { logAndTerminateTest("Read 'other' transaction failed", error); });
140 // Hack: insert an empty write transaction to guaratee that these transactions are executed sequentially
141 db.transaction(function(tx) { });
143 function(error) { logAndTerminateTest("Read 'DROP' transaction failed", error); },