diff options
author | unknown <joreland@mysql.com> | 2004-11-08 13:59:04 +0100 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-11-08 13:59:04 +0100 |
commit | 2f182b3eb0b9402ed5e946caf6e2a94451e1d6b8 (patch) | |
tree | 01e18a1c10b5654ce4ff3520816b7e8ae2250d9b /ndb/test/ndbapi/testScanPerf.cpp | |
parent | 70663052d8ba2fa319fb2c4ae6db47922239066d (diff) | |
download | mariadb-git-2f182b3eb0b9402ed5e946caf6e2a94451e1d6b8.tar.gz |
compile fix for ndbapi test program on irix (variable scope)
ndb/test/include/NDBT_Test.hpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/ScanFunctions.hpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testDataBuffers.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testDeadlock.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testDict.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testIndex.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testLcp.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testNdbApi.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testOIBasic.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testReadPerf.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testRestartGci.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testScanPerf.cpp:
compile fix for ndbapi test program on irix
ndb/test/ndbapi/testSystemRestart.cpp:
compile fix for ndbapi test program on irix
Diffstat (limited to 'ndb/test/ndbapi/testScanPerf.cpp')
-rw-r--r-- | ndb/test/ndbapi/testScanPerf.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ndb/test/ndbapi/testScanPerf.cpp b/ndb/test/ndbapi/testScanPerf.cpp index c1334125978..003fc67179f 100644 --- a/ndb/test/ndbapi/testScanPerf.cpp +++ b/ndb/test/ndbapi/testScanPerf.cpp @@ -80,7 +80,8 @@ main(int argc, const char** argv){ { "verbose", 'v', arg_flag, &verbose, "Print verbose status", "verbose" } }; const int num_args = 1 + P_MAX; - for(int i = 0; i<P_MAX; i++){ + int i; + for(i = 0; i<P_MAX; i++){ args[i+1].long_name = g_paramters[i].name; args[i+1].short_name = * g_paramters[i].name; args[i+1].type = arg_integer; @@ -107,7 +108,7 @@ main(int argc, const char** argv){ g_err << "Wait until ready failed" << endl; goto error; } - for(int i = optind; i<argc; i++){ + for(i = optind; i<argc; i++){ const char * T = argv[i]; g_info << "Testing " << T << endl; BaseString::snprintf(g_tablename, sizeof(g_tablename), T); |