Public =========================================================================================
| 37 | // Public |
| 38 | // ========================================================================================= |
| 39 | ODBCEnvironment::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 | |
| 47 | Diagnostics& ODBCEnvironment::GetDiagnosticsImpl() { return *diagnostics_; } |
| 48 |
nothing calls this directly
no test coverage detected