summaryrefslogtreecommitdiff
path: root/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2022-02-17 11:42:57 -0500
committerRazvan Becheriu <razvan@isc.org>2022-02-17 19:12:10 +0000
commit9056bfadf2fb1c14b22c767e7040efbb6bee4dd7 (patch)
tree642c9bc347550d28f7692aab12f92cd954e4cc1d /src/share/database/scripts/pgsql/dhcpdb_create.pgsql
parent9e5488415249239a8fcc92a191ab2b81e4812491 (diff)
[#95] Addressed minor review comments
src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc Explicitly handle ddns-replace-cient-name-mode binding src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc GenericConfigBackendDHCPv4Test::testNewAuditEntry(0 - Fail on empty tag list. src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.h Add doxygen src/share/database/scripts/pgsql/dhcpdb_create.pgsql src/share/database/scripts/pgsql/upgrade_008_to_009.sh.in Fix function discrepancies on argument types
Diffstat (limited to 'src/share/database/scripts/pgsql/dhcpdb_create.pgsql')
-rw-r--r--src/share/database/scripts/pgsql/dhcpdb_create.pgsql8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/share/database/scripts/pgsql/dhcpdb_create.pgsql b/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
index 7558b620eb..c8d18f680c 100644
--- a/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
+++ b/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
@@ -4338,7 +4338,7 @@ DECLARE
-- we will select.
snid BIGINT;
sid BIGINT;
- cascade_transaction BOOLEAN := true;
+ cascade_transaction BOOLEAN;
BEGIN
-- Cascade transaction flag is set to true to prevent creation of
-- the audit entries for the options when the options are
@@ -4419,12 +4419,12 @@ END;$$;
-- allow table aliases to be used with column names in update
-- set expressions.
-- -----------------------------------------------------
-CREATE OR REPLACE FUNCTION createOptionAuditDHCP6(modification_type VARCHAR(32),
+CREATE OR REPLACE FUNCTION createOptionAuditDHCP6(modification_type VARCHAR,
scope_id SMALLINT,
option_id INT,
p_subnet_id BIGINT,
host_id INT,
- network_name VARCHAR(128),
+ network_name VARCHAR,
pool_id BIGINT,
pd_pool_id BIGINT,
p_modification_ts TIMESTAMP WITH TIME ZONE)
@@ -4436,7 +4436,7 @@ DECLARE
-- we will select.
snid BIGINT;
sid BIGINT;
- cascade_transaction BOOLEAN := false;
+ cascade_transaction BOOLEAN;
BEGIN
-- Cascade transaction flag is set to true to prevent creation of
-- the audit entries for the options when the options are