]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1073] addressed review
authorRazvan Becheriu <razvan@isc.org>
Mon, 27 Jan 2020 14:06:38 +0000 (16:06 +0200)
committerRazvan Becheriu <razvan@isc.org>
Mon, 27 Jan 2020 14:57:36 +0000 (16:57 +0200)
src/lib/dhcpsrv/mysql_host_data_source.cc

index c6b673fd37f92ee9c206a86c299c420f74c43bd2..cc64929cfa02ed85ba3adacfe000ff98be7e9abd 100644 (file)
@@ -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<MYSQL_BIND>& 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;