Lines Matching refs:db_
53 db_.set_page_size(2048);
54 db_.set_cache_size(32);
55 db_.set_exclusive_locking();
57 if (!db_.Open(db_path)) {
62 sql::Transaction transaction(&db_);
66 if (!meta_table_.Init(&db_, kCurrentVersionNumber,
68 db_.Close();
73 db_.Close();
80 db_.Close();
91 db_.Close();
106 if (!db_.DoesTableExist("logins")) {
107 if (!db_.Execute("CREATE TABLE logins ("
128 if (!db_.Execute("CREATE INDEX logins_signon ON "
138 sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
161 sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
197 sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
230 *items_changed = db_.GetLastChangeCount();
237 sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
266 sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
309 sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
337 sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
377 sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE,
402 DCHECK(db_.is_open());
404 db_.Close();