From 8da33bf92d2a28178da752aab20914bbe07842a5 Mon Sep 17 00:00:00 2001 From: Piotrek Zadroga Date: Tue, 20 Jun 2023 11:06:14 +0200 Subject: [PATCH] [#2795] update comments --- src/lib/dhcpsrv/mysql_host_data_source.cc | 3 ++- src/lib/dhcpsrv/pgsql_host_data_source.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/dhcpsrv/mysql_host_data_source.cc b/src/lib/dhcpsrv/mysql_host_data_source.cc index bf5c541c9c..8014c85e30 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.cc +++ b/src/lib/dhcpsrv/mysql_host_data_source.cc @@ -2489,7 +2489,8 @@ TaggedStatementArray tagged_statements = { { // Retrieves host information, IPv6 reservations and DHCPv6 options // associated with a host using IPv6 prefix. This query - // returns host information for a single host. However, multiple rows + // may return host information for one or more host reservations. Even + // if only one host is found, multiple rows // are returned due to left joining IPv6 reservations and DHCPv6 options. // The number of rows returned is multiplication of number of existing // IPv6 reservations and DHCPv6 options. diff --git a/src/lib/dhcpsrv/pgsql_host_data_source.cc b/src/lib/dhcpsrv/pgsql_host_data_source.cc index d8d636acce..1f0b32bbe3 100644 --- a/src/lib/dhcpsrv/pgsql_host_data_source.cc +++ b/src/lib/dhcpsrv/pgsql_host_data_source.cc @@ -1817,7 +1817,8 @@ TaggedStatementArray tagged_statements = { { // PgSqlHostDataSourceImpl::GET_HOST_ADDR6 // Retrieves host information, IPv6 reservations and DHCPv6 options // associated with a host using IPv6 prefix. This query - // returns host information for a single host. However, multiple rows + // may return host information for one or more host reservations. Even + // if only one host is found, multiple rows // are returned due to left joining IPv6 reservations and DHCPv6 options. // The number of rows returned is multiplication of number of existing // IPv6 reservations and DHCPv6 options. -- 2.47.2