BIND 10 trac2040, updated. 5c8635b42e86fd2e9c95ed4205457249c394cbed [2040] cppcheck warnings removed in mysql_ubench
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Aug 21 16:27:53 UTC 2012
The branch, trac2040 has been updated
via 5c8635b42e86fd2e9c95ed4205457249c394cbed (commit)
from cfcd2c6f824e4e00702b76c04ca9b1957ec608a9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5c8635b42e86fd2e9c95ed4205457249c394cbed
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Tue Aug 21 18:27:43 2012 +0200
[2040] cppcheck warnings removed in mysql_ubench
-----------------------------------------------------------------------
Summary of changes:
tests/tools/dhcp-ubench/mysql_ubench.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/tools/dhcp-ubench/mysql_ubench.cc b/tests/tools/dhcp-ubench/mysql_ubench.cc
index 7ca9356..0351c99 100644
--- a/tests/tools/dhcp-ubench/mysql_ubench.cc
+++ b/tests/tools/dhcp-ubench/mysql_ubench.cc
@@ -406,7 +406,7 @@ void MySQL_uBenchmark::searchLease4Test() {
// 4th parameter: Client-id
response[3].buffer_type = MYSQL_TYPE_STRING;
- response[3].buffer = client_id;
+ response[3].buffer = &client_id;
// 5th parameter: valid-lifetime
response[4].buffer_type = MYSQL_TYPE_LONG;
@@ -426,7 +426,7 @@ void MySQL_uBenchmark::searchLease4Test() {
// 9th parameter: hostname
response[8].buffer_type = MYSQL_TYPE_STRING;
- response[8].buffer = hostname;
+ response[8].buffer = &hostname;
// 10th parameter: fqdn_fwd
response[9].buffer_type = MYSQL_TYPE_TINY;
More information about the bind10-changes
mailing list