From: Marcin Siodelski Date: Tue, 29 Jan 2019 20:20:53 +0000 (+0100) Subject: [#396,!205] Added comments to output bindings of getRecentAuditEntries. X-Git-Tag: 429-Updated-StampedValue-to-support-reals_base~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=570ed3ba78c2c107d6e2eadd6b668f644e2c6da7;p=thirdparty%2Fkea.git [#396,!205] Added comments to output bindings of getRecentAuditEntries. --- diff --git a/src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc b/src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc index 29cc777440..38ab5c559f 100644 --- a/src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc +++ b/src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc @@ -121,12 +121,12 @@ MySqlConfigBackendImpl::getRecentAuditEntries(const int index, AuditEntryCollection& audit_entries) { // Create the output bindings for receiving the data. MySqlBindingCollection out_bindings = { - MySqlBinding::createInteger(), - MySqlBinding::createString(AUDIT_ENTRY_OBJECT_TYPE_BUF_LENGTH), - MySqlBinding::createInteger(), - MySqlBinding::createInteger(), - MySqlBinding::createTimestamp(), - MySqlBinding::createString(AUDIT_ENTRY_LOG_MESSAGE_BUF_LENGTH) + MySqlBinding::createInteger(), // id + MySqlBinding::createString(AUDIT_ENTRY_OBJECT_TYPE_BUF_LENGTH), // object_type + MySqlBinding::createInteger(), // object_id + MySqlBinding::createInteger(), // modification_type + MySqlBinding::createTimestamp(), // modification_time + MySqlBinding::createString(AUDIT_ENTRY_LOG_MESSAGE_BUF_LENGTH) // log_message }; auto tags = getServerTags(server_selector);