| 664 | } |
| 665 | |
| 666 | std::shared_ptr<ODBCDescriptor> ODBCConnection::CreateDescriptor() { |
| 667 | std::shared_ptr<ODBCDescriptor> desc = std::make_shared<ODBCDescriptor>( |
| 668 | spi_connection_->GetDiagnostics(), this, nullptr, true, true, false); |
| 669 | descriptors_.push_back(desc); |
| 670 | return desc; |
| 671 | } |
| 672 | |
| 673 | void ODBCConnection::DropDescriptor(ODBCDescriptor* desc) { |
| 674 | auto it = std::find_if(descriptors_.begin(), descriptors_.end(), |
no test coverage detected