Lines Matching refs:dbx
109 DatabaseX dbx = null; in open() local
111 dbx = new DatabaseX(); in open()
112 dbx.open(dbfile, readonly ? SQLite.Constants.SQLITE_OPEN_READONLY : in open()
115 dbx.set_encoding(enc); in open()
122 dbx.exec("PRAGMA short_column_names = off;", null); in open()
123 dbx.exec("PRAGMA full_column_names = on;", null); in open()
124 dbx.exec("PRAGMA empty_result_callbacks = on;", null); in open()
126 dbx.exec("PRAGMA show_datatypes = on;", null); in open()
129 if (dbx.last_error() != SQLite.Constants.SQLITE_BUSY || in open()
130 !busy0(dbx, ++loop)) { in open()
132 dbx.close(); in open()
141 return dbx; in open()
342 DatabaseX dbx = null; in setReadOnly() local
344 dbx = open(ro); in setReadOnly()
346 db = dbx; in setReadOnly()
347 dbx = null; in setReadOnly()
352 if (dbx != null) { in setReadOnly()
354 dbx.close(); in setReadOnly()