diff options
author | joreland@mysql.com <> | 2004-09-06 15:15:35 +0200 |
---|---|---|
committer | joreland@mysql.com <> | 2004-09-06 15:15:35 +0200 |
commit | d0b730dd174e00811d27f6e5132ece0eea31fe70 (patch) | |
tree | 27b2385d10975b9ba04e641a939b175df9897208 | |
parent | 1e17dca88bc61d11e2d041b1bd308e403f8c4646 (diff) | |
download | mariadb-git-d0b730dd174e00811d27f6e5132ece0eea31fe70.tar.gz |
testReadPerf fixes
-rw-r--r-- | ndb/test/ndbapi/testReadPerf.cpp | 3 |
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; |