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

Method Close

cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_connection.cc:353–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353void FlightSqlConnection::Close() {
354 if (closed_) {
355 throw DriverException("Connection already closed.");
356 }
357
358 sql_client_.reset();
359 closed_ = true;
360 attribute_[CONNECTION_DEAD] = static_cast<uint32_t>(SQL_TRUE);
361}
362
363std::shared_ptr<Statement> FlightSqlConnection::CreateStatement() {
364 return std::shared_ptr<Statement>(new FlightSqlStatement(

Callers

nothing calls this directly

Calls 2

DriverExceptionClass · 0.85
resetMethod · 0.45

Tested by

no test coverage detected