Lines Matching refs:sql
37 #include "sql/error_delegate_util.h"
38 #include "sql/meta_table.h"
39 #include "sql/statement.h"
40 #include "sql/transaction.h"
208 void DatabaseErrorCallback(int error, sql::Statement* stmt);
217 scoped_ptr<sql::Connection> db_;
218 sql::MetaTable meta_table_;
374 bool InitTable(sql::Connection* db) {
573 db_.reset(new sql::Connection);
608 sql::Statement smt(db_->GetUniqueStatement(
695 sql::Statement smt;
773 sql::Transaction transaction(db_.get());
796 sql::Transaction transaction(db_.get());
825 sql::Transaction transaction(db_.get());
846 sql::Transaction transaction(db_.get());
868 sql::Transaction transaction(db_.get());
892 db_.reset(new sql::Connection);
969 sql::Statement add_smt(db_->GetCachedStatement(SQL_FROM_HERE,
977 sql::Statement update_access_smt(db_->GetCachedStatement(SQL_FROM_HERE,
982 sql::Statement del_smt(db_->GetCachedStatement(SQL_FROM_HERE,
987 sql::Transaction transaction(db_.get());
1105 sql::Statement del_smt(db_->GetCachedStatement(
1112 sql::Transaction transaction(db_.get());
1142 sql::Statement* stmt) {
1145 if (!sql::IsErrorCatastrophic(error))