From: Razvan Becheriu Date: Mon, 27 Jan 2020 14:06:38 +0000 (+0200) Subject: [#1073] addressed review X-Git-Tag: Kea-1.7.4~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73c36cf1ca22ac2033df8d8b25043144f484f134;p=thirdparty%2Fkea.git [#1073] addressed review --- diff --git a/src/lib/dhcpsrv/mysql_host_data_source.cc b/src/lib/dhcpsrv/mysql_host_data_source.cc index c6b673fd37..cc64929cfa 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.cc +++ b/src/lib/dhcpsrv/mysql_host_data_source.cc @@ -1020,13 +1020,14 @@ private: /// @brief Initialize binding table fields for options. /// - /// Resets most_recent_option_id_ value to 0. + /// Resets most_recent_option_id_ to 0 and other exchange members to + /// default values. /// /// @param [out] bind Binding table. void setBindFields(std::vector& bind) { // This method is called just before making a new query, so we - // reset the most_recent_option_id_ to start over with options - // processing. + // reset the most_recent_option_id_ and other exchage members to + // start over with options processing. most_recent_option_id_ = 0; option_id_ = 0;