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

Method ODBCEnvironment

cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_environment.cc:39–45  ·  view source on GitHub ↗

Public =========================================================================================

Source from the content-addressed store, hash-verified

37// Public
38// =========================================================================================
39ODBCEnvironment::ODBCEnvironment(std::shared_ptr<Driver> driver)
40 : driver_(std::move(driver)),
41 diagnostics_(new Diagnostics(driver_->GetDiagnostics().GetVendor(),
42 driver_->GetDiagnostics().GetDataSourceComponent(),
43 OdbcVersion::V_2)),
44 version_(SQL_OV_ODBC2),
45 connection_pooling_(SQL_CP_OFF) {}
46
47Diagnostics& ODBCEnvironment::GetDiagnosticsImpl() { return *diagnostics_; }
48

Callers

nothing calls this directly

Calls 2

GetVendorMethod · 0.80

Tested by

no test coverage detected