Lines Matching defs:db
12 protected DatabaseX db;
75 private boolean busy0(DatabaseX db, int count) {
79 if (db != null) {
84 db.wait(100);
91 return busy0(db, count);
94 protected boolean busy3(DatabaseX db, int count) {
98 if (db != null) {
158 db = open(readonly);
161 db.key(pwd);
166 db.busy_handler(this);
168 if (db != null) {
170 db.close();
182 return (SQLite.Database) db;
220 if (db != null) {
222 db.close();
223 db = null;
231 return db == null;
242 if (db == null) {
249 db.exec("COMMIT", null);
307 if (db == null) {
314 db.exec("ROLLBACK", null);
322 if (ac && intrans && db != null) {
324 db.exec("ROLLBACK", null);
345 db.close();
346 db = dbx;
364 if (db.is3() && SQLite.JDBCDriver.sharedCache) {
375 db.exec("PRAGMA read_uncommitted = " + flag + ";", null);