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

Method DropStatement

cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_connection.cc:656–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654}
655
656void ODBCConnection::DropStatement(ODBCStatement* stmt) {
657 auto it = std::find_if(statements_.begin(), statements_.end(),
658 [&stmt](const std::shared_ptr<ODBCStatement>& statement) {
659 return statement.get() == stmt;
660 });
661 if (statements_.end() != it) {
662 statements_.erase(it);
663 }
664}
665
666std::shared_ptr<ODBCDescriptor> ODBCConnection::CreateDescriptor() {
667 std::shared_ptr<ODBCDescriptor> desc = std::make_shared<ODBCDescriptor>(

Callers 1

ReleaseStatementMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected