mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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
This commit is contained in:
@ -392,10 +392,10 @@ C##suitname():NDBT_TestSuite(#suitname){ \
|
||||
|
||||
// Add a number of equal steps to the testcase
|
||||
#define STEPS(stepfunc, num) \
|
||||
for (int i = 0; i < num; i++){ \
|
||||
{ int i; for (i = 0; i < num; i++){ \
|
||||
pts = new NDBT_ParallelStep(pt, #stepfunc, stepfunc); \
|
||||
pt->addStep(pts);\
|
||||
}
|
||||
} }
|
||||
|
||||
#define VERIFIER(stepfunc) \
|
||||
ptv = new NDBT_Verifier(pt, #stepfunc, stepfunc); \
|
||||
|
Reference in New Issue
Block a user