| 351 | } |
| 352 | |
| 353 | void 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 | |
| 363 | std::shared_ptr<Statement> FlightSqlConnection::CreateStatement() { |
| 364 | return std::shared_ptr<Statement>(new FlightSqlStatement( |
nothing calls this directly
no test coverage detected