Home | History | Annotate | Download | only in sql

Lines Matching defs:stmt

161                                        sqlite3_stmt* stmt,
164 stmt_(stmt),
680 sqlite3_reset(i->second->stmt());
698 sqlite3_stmt* stmt = NULL;
699 int rc = sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL);
708 return new StatementRef(this, stmt, true);
717 sqlite3_stmt* stmt = NULL;
718 int rc = sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL);
724 return new StatementRef(NULL, stmt, true);
757 sqlite3_stmt* stmt = NULL;
758 if (sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL) != SQLITE_OK)
761 sqlite3_finalize(stmt);
1025 int Connection::OnSqliteError(int err, sql::Statement *stmt, const char* sql) {
1030 if (!sql && stmt)
1031 sql = stmt->GetSQLStatement();
1043 ErrorCallback(error_callback_).Run(err, stmt);
1080 sql::Statement stmt(GetUniqueStatement(pragma_sql));
1085 while (stmt.Step()) {
1086 std::string result(stmt.ColumnString(0));
1089 ret = stmt.Succeeded();