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

Method GetInfo

cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_connection.cc:401–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401Connection::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
411FlightSqlConnection::FlightSqlConnection(OdbcVersion odbc_version,
412 const std::string& driver_version)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected