mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 15:05:16 +00:00
[#1074] minor changes
This commit is contained in:
@@ -2059,7 +2059,6 @@ PgSqlHostDataSourceImpl::createContext() const {
|
|||||||
if (!ctx->is_readonly_) {
|
if (!ctx->is_readonly_) {
|
||||||
ctx->conn_.prepareStatements(tagged_statements.begin() + WRITE_STMTS_BEGIN,
|
ctx->conn_.prepareStatements(tagged_statements.begin() + WRITE_STMTS_BEGIN,
|
||||||
tagged_statements.end());
|
tagged_statements.end());
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
LOG_INFO(dhcpsrv_logger, DHCPSRV_PGSQL_HOST_DB_READONLY);
|
LOG_INFO(dhcpsrv_logger, DHCPSRV_PGSQL_HOST_DB_READONLY);
|
||||||
}
|
}
|
||||||
|
@@ -381,7 +381,7 @@ public:
|
|||||||
/// integers. "first" is the major version number, "second" the
|
/// integers. "first" is the major version number, "second" the
|
||||||
/// minor number.
|
/// minor number.
|
||||||
///
|
///
|
||||||
/// @throw isc::dhcp::DbOperationError An operation on the open database
|
/// @throw isc::db::DbOperationError An operation on the open database
|
||||||
/// has failed.
|
/// has failed.
|
||||||
virtual std::pair<uint32_t, uint32_t> getVersion() const;
|
virtual std::pair<uint32_t, uint32_t> getVersion() const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user