| 399 | } |
| 400 | |
| 401 | Connection::Info FlightSqlConnection::GetInfo(uint16_t info_type) { |
| 402 | auto result = info_.GetInfo(info_type); |
| 403 | if (info_type == SQL_DBMS_NAME || info_type == SQL_SERVER_NAME) { |
| 404 | // Update the database component reported in error messages. |
| 405 | // We do this lazily for performance reasons. |
| 406 | diagnostics_.SetDataSourceComponent(boost::get<std::string>(result)); |
| 407 | } |
| 408 | return result; |
| 409 | } |
| 410 | |
| 411 | FlightSqlConnection::FlightSqlConnection(OdbcVersion odbc_version, |
| 412 | const std::string& driver_version) |
nothing calls this directly
no test coverage detected