| 654 | } |
| 655 | |
| 656 | void 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 | |
| 666 | std::shared_ptr<ODBCDescriptor> ODBCConnection::CreateDescriptor() { |
| 667 | std::shared_ptr<ODBCDescriptor> desc = std::make_shared<ODBCDescriptor>( |
no test coverage detected