| 49 | SQLINTEGER ODBCEnvironment::GetODBCVersion() const { return version_; } |
| 50 | |
| 51 | void ODBCEnvironment::SetODBCVersion(SQLINTEGER version) { |
| 52 | if (version != version_) { |
| 53 | version_ = version; |
| 54 | diagnostics_.reset( |
| 55 | new Diagnostics(diagnostics_->GetVendor(), diagnostics_->GetDataSourceComponent(), |
| 56 | version == SQL_OV_ODBC2 ? OdbcVersion::V_2 : OdbcVersion::V_3)); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | SQLINTEGER ODBCEnvironment::GetConnectionPooling() const { return connection_pooling_; } |
| 61 |
no test coverage detected