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 | 83399365295567e078f80776a091712d72df63b5 (patch) | |
tree | 01e18a1c10b5654ce4ff3520816b7e8ae2250d9b /ndb/test/ndbapi/testLcp.cpp | |
parent | 4348c7c45bba23504394ddfc2b0f8f30a90f21a7 (diff) | |
download | mariadb-git-83399365295567e078f80776a091712d72df63b5.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/testLcp.cpp')
-rw-r--r-- | ndb/test/ndbapi/testLcp.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ndb/test/ndbapi/testLcp.cpp b/ndb/test/ndbapi/testLcp.cpp index c92be091a97..d11692db761 100644 --- a/ndb/test/ndbapi/testLcp.cpp +++ b/ndb/test/ndbapi/testLcp.cpp @@ -85,7 +85,8 @@ main(int argc, char ** argv){ g_info << " where ZLCP_OP_WRITE_RT_BREAK is finished before SAVE_PAGES" << endl; require(!pause_lcp()); - for(size_t j = 0; j<g_rows; j++){ + size_t j; + for(j = 0; j<g_rows; j++){ require(!do_op(j)); } require(!continue_lcp(5900)); @@ -98,7 +99,7 @@ main(int argc, char ** argv){ << endl; require(!load_table()); require(!pause_lcp()); - for(size_t j = 0; j<g_rows; j++){ + for(j = 0; j<g_rows; j++){ require(!do_op(j)); } require(!continue_lcp(5901)); @@ -109,7 +110,7 @@ main(int argc, char ** argv){ g_info << "Testing pre LCP operations, undo-ed at commit" << endl; require(!load_table()); require(!pause_lcp()); - for(size_t j = 0; j<g_rows; j++){ + for(j = 0; j<g_rows; j++){ require(!do_op(j)); } require(!continue_lcp(5902)); |