Home | History | Annotate | Download | only in common

Lines Matching refs:db

32   virtual int HandleError(int error, sqlite3* db) {
35 << " db " << static_cast<void*>(db);
42 virtual int HandleError(int error, sqlite3* db) {
100 bool DoesSqliteTableExist(sqlite3* db,
113 if (statement.prepare(db, sql.c_str()) != SQLITE_OK)
123 bool DoesSqliteColumnExist(sqlite3* db,
140 if (s.prepare(db, sql.c_str()) != SQLITE_OK)
153 bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name) {
159 if (s.prepare(db, b.c_str()) != SQLITE_OK)
167 SQLTransaction::SQLTransaction(sqlite3* db) : db_(db), began_(false) {
281 int SQLStatement::prepare(sqlite3* db, const char* sql, int sql_len) {
283 int rv = sqlite3_prepare_v2(db, sql, sql_len, &stmt_, NULL);
286 return error_handler->HandleError(rv, db);