Commit ed047355 authored by unknown's avatar unknown

testReadPerf fixes


ndb/test/ndbapi/testReadPerf.cpp:
  clear g_times if compiler don't do it for you
parent d1f54f28
...@@ -115,7 +115,8 @@ main(int argc, const char** argv){ ...@@ -115,7 +115,8 @@ main(int argc, const char** argv){
} }
myRandom48Init(NdbTick_CurrentMillisecond()); myRandom48Init(NdbTick_CurrentMillisecond());
memset(g_times, 0, sizeof(g_times));
g_ndb = new Ndb("TEST_DB"); g_ndb = new Ndb("TEST_DB");
if(g_ndb->init() != 0){ if(g_ndb->init() != 0){
g_err << "init() failed" << endl; g_err << "init() failed" << endl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment