From 570ed3ba78c2c107d6e2eadd6b668f644e2c6da7 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Tue, 29 Jan 2019 21:20:53 +0100 Subject: [PATCH] [#396,!205] Added comments to output bindings of getRecentAuditEntries. --- src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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); -- 2.47.2