summaryrefslogtreecommitdiffstats
path: root/src/lib/pgsql/pgsql_connection.cc
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2024-02-20 23:25:22 +0100
committerAndrei Pavel <andrei@isc.org>2024-02-22 09:06:32 +0100
commit29510c9762a77657130701eab4b647d68a75efdd (patch)
tree478db94c761ade761114585b4aad78c8c5adf616 /src/lib/pgsql/pgsql_connection.cc
parent[#3025] appease shellcheck (diff)
downloadkea-29510c9762a77657130701eab4b647d68a75efdd.tar.xz
kea-29510c9762a77657130701eab4b647d68a75efdd.zip
[#3025] address review comments
Diffstat (limited to 'src/lib/pgsql/pgsql_connection.cc')
-rw-r--r--src/lib/pgsql/pgsql_connection.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/pgsql/pgsql_connection.cc b/src/lib/pgsql/pgsql_connection.cc
index accef17ed5..7315dd94e9 100644
--- a/src/lib/pgsql/pgsql_connection.cc
+++ b/src/lib/pgsql/pgsql_connection.cc
@@ -184,9 +184,6 @@ PgSqlConnection::ensureSchemaVersion(const ParameterMap& parameters,
IOServiceAccessorPtr ac(new IOServiceAccessor(&DatabaseConnection::getIOService));
pair<uint32_t, uint32_t> schema_version;
try {
- // Attempt to get version without retrying or other sophistries. This
- // provides the most accurate view of the status of the database and the
- // most flexibility to reacting to errors.
schema_version = getVersion(parameters, ac, cb, retry ? timer_name : string());
} catch (DbOpenError const& exception) {
throw;