From: Andrei Pavel Date: Thu, 19 Jan 2023 16:01:46 +0000 (+0200) Subject: [#2724] fix spacing in PG CB prepare statement X-Git-Tag: Kea-2.2.1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04eb6fd3a8360592841c30579b64bae32ee5fd87;p=thirdparty%2Fkea.git [#2724] fix spacing in PG CB prepare statement This prevented Kea from working with PostgreSQL 15+. --- diff --git a/src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc b/src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc index 5ad7e43188..f250e6e3e7 100644 --- a/src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc +++ b/src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc @@ -4152,7 +4152,7 @@ TaggedStatementArray tagged_statements = { { " reservations_in_subnet = $30," " reservations_out_of_pool = $31," " cache_threshold = cast($32 as float)," - " cache_max_age = $33" + " cache_max_age = $33 " "WHERE subnet_id = $34 OR subnet_prefix = $35" },