MCPcopy Create free account
hub / github.com/apache/arrow / Reset

Method Reset

cpp/src/arrow/flight/sql/example/sqlite_statement.cc:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159arrow::Result<int> SqliteStatement::Reset() {
160 int rc = sqlite3_reset(stmt_);
161 if (rc == SQLITE_ERROR) {
162 return Status::ExecutionError("A SQLite runtime error has occurred: ",
163 sqlite3_errmsg(db_));
164 }
165
166 return rc;
167}
168
169sqlite3_stmt* SqliteStatement::GetSqlite3Stmt() const { return stmt_; }
170

Callers 4

RunExchangeTotalMethod · 0.45
CreateMethod · 0.45
ReadNextMethod · 0.45

Calls 1

ExecutionErrorFunction · 0.85

Tested by 1

RunExchangeTotalMethod · 0.36