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

Method DropDescriptor

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

Source from the content-addressed store, hash-verified

671}
672
673void ODBCConnection::DropDescriptor(ODBCDescriptor* desc) {
674 auto it = std::find_if(descriptors_.begin(), descriptors_.end(),
675 [&desc](const std::shared_ptr<ODBCDescriptor>& descriptor) {
676 return descriptor.get() == desc;
677 });
678 if (descriptors_.end() != it) {
679 descriptors_.erase(it);
680 }
681}
682
683// Public Static
684// ===================================================================================

Callers 1

ReleaseDescriptorMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected