]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2724] fix spacing in PG CB prepare statement
authorAndrei Pavel <andrei@isc.org>
Thu, 19 Jan 2023 16:01:46 +0000 (18:01 +0200)
committerAndrei Pavel <andrei@isc.org>
Thu, 13 Jul 2023 15:51:35 +0000 (18:51 +0300)
This prevented Kea from working with PostgreSQL 15+.

src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp6.cc

index 5ad7e4318846b2a7fa93ceab0cbcaf246d241cec..f250e6e3e794200441fa6ee7ffa8c5d2fcbdedef 100644 (file)
@@ -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"
     },