Lines Matching refs:tx
37 testTransaction(db, function(tx) { throw "Exception thrown in transaction callback."; }, "UNKNOWN_ERR");
43 function(tx) {
44 tx.executeSql("BAD STATEMENT", [], null, function(tx, error) { return true; });
50 testTransaction(db, function(tx) { tx.executeSql("BAD STATEMENT"); }, "SYNTAX_ERR");
56 function(tx) {
57 tx.executeSql("CREATE TABLE IF NOT EXISTS BadBindNumberTest (Foo INT, Bar INT)");
58 tx.executeSql("INSERT INTO BadBindNumberTest VALUES (?, ?)", [1]);
67 testTransaction(db, function(tx) {
68 tx.executeSql("CREATE TABLE IF NOT EXISTS BadBindTypeTest (Foo TEXT)");
69 tx.executeSql("INSERT INTO BadBindTypeTest VALUES (?)", [badString]);
76 function(tx) {
77 tx.executeSql("CREATE TABLE IF NOT EXISTS QuotaTest (Foo BLOB)");
78 tx.executeSql("INSERT INTO QuotaTest VALUES (ZEROBLOB(10 * 1024 * 1024))");
86 db.transaction(function(tx) {
88 db2.changeVersion("1.0", "2.0", function(tx) { },
96 function(tx) {
97 tx.executeSql("THIS STATEMENT SHOULD NEVER GET EXECUTED");