summaryrefslogtreecommitdiff
path: root/ndb/test/ndbapi
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-09-06 15:15:35 +0200
committerunknown <joreland@mysql.com>2004-09-06 15:15:35 +0200
commited047355435395c414b38140503935bb2e3ca266 (patch)
tree27b2385d10975b9ba04e641a939b175df9897208 /ndb/test/ndbapi
parentd1f54f28d475dffc3187a17c329e0a8b04284c4e (diff)
downloadmariadb-git-ed047355435395c414b38140503935bb2e3ca266.tar.gz
testReadPerf fixes
ndb/test/ndbapi/testReadPerf.cpp: clear g_times if compiler don't do it for you
Diffstat (limited to 'ndb/test/ndbapi')
-rw-r--r--ndb/test/ndbapi/testReadPerf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/test/ndbapi/testReadPerf.cpp b/ndb/test/ndbapi/testReadPerf.cpp
index 5245c116d41..412661c4ff8 100644
--- a/ndb/test/ndbapi/testReadPerf.cpp
+++ b/ndb/test/ndbapi/testReadPerf.cpp
@@ -115,7 +115,8 @@ main(int argc, const char** argv){
}
myRandom48Init(NdbTick_CurrentMillisecond());
-
+ memset(g_times, 0, sizeof(g_times));
+
g_ndb = new Ndb("TEST_DB");
if(g_ndb->init() != 0){
g_err << "init() failed" << endl;