mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Compile fixes for ccc (& cxx) on linux/alpha
Mainly explicit template instantiations ndb/src/common/debugger/signaldata/SignalDataPrint.cpp: Explicit template instantiations ndb/src/common/util/SocketServer.cpp: Explicit template instantiations ndb/src/kernel/blocks/backup/BackupInit.cpp: Explicit template instantiations ndb/src/kernel/blocks/dbutil/DbUtil.cpp: Explicit template instantiations ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp: Explicit template instantiations ndb/src/kernel/vm/ArrayPool.hpp: Only define print if #VM_TRACE ndb/src/mgmclient/CpcClient.cpp: Explicit template instantiations ndb/src/ndbapi/NdbDictionaryImpl.cpp: Explicit template instantiations ndb/test/include/NDBT_Table.hpp: Fully qualified type name ndb/test/include/NDBT_Test.hpp: Add destructors (so that v-table isn't empty) ndb/test/run-test/main.cpp: Explicit template instantiations ndb/test/src/HugoOperations.cpp: Explicit template instantiations ndb/test/src/HugoTransactions.cpp: Explicit template instantiations ndb/test/src/NDBT_Test.cpp: Explicit template instantiations ndb/test/src/NdbRestarter.cpp: Explicit template instantiations ndb/test/tools/cpcc.cpp: Explicit template instantiations
This commit is contained in:
@ -110,6 +110,7 @@ public:
|
||||
NDBT_Step(NDBT_TestCase* ptest,
|
||||
const char* pname,
|
||||
NDBT_TESTFUNC* pfunc);
|
||||
virtual ~NDBT_Step() {}
|
||||
int execute(NDBT_Context*);
|
||||
virtual int setUp() = 0;
|
||||
virtual void tearDown() = 0;
|
||||
@ -132,8 +133,9 @@ public:
|
||||
NDBT_NdbApiStep(NDBT_TestCase* ptest,
|
||||
const char* pname,
|
||||
NDBT_TESTFUNC* pfunc);
|
||||
int setUp();
|
||||
void tearDown();
|
||||
virtual ~NDBT_NdbApiStep() {}
|
||||
virtual int setUp();
|
||||
virtual void tearDown();
|
||||
|
||||
Ndb* getNdb();
|
||||
protected:
|
||||
@ -145,6 +147,7 @@ public:
|
||||
NDBT_ParallelStep(NDBT_TestCase* ptest,
|
||||
const char* pname,
|
||||
NDBT_TESTFUNC* pfunc);
|
||||
virtual ~NDBT_ParallelStep() {}
|
||||
};
|
||||
|
||||
class NDBT_Verifier : public NDBT_NdbApiStep {
|
||||
@ -152,6 +155,7 @@ public:
|
||||
NDBT_Verifier(NDBT_TestCase* ptest,
|
||||
const char* name,
|
||||
NDBT_TESTFUNC* func);
|
||||
virtual ~NDBT_Verifier() {}
|
||||
};
|
||||
|
||||
class NDBT_Initializer : public NDBT_NdbApiStep {
|
||||
@ -159,6 +163,7 @@ public:
|
||||
NDBT_Initializer(NDBT_TestCase* ptest,
|
||||
const char* name,
|
||||
NDBT_TESTFUNC* func);
|
||||
virtual ~NDBT_Initializer() {}
|
||||
};
|
||||
|
||||
class NDBT_Finalizer : public NDBT_NdbApiStep {
|
||||
@ -166,6 +171,7 @@ public:
|
||||
NDBT_Finalizer(NDBT_TestCase* ptest,
|
||||
const char* name,
|
||||
NDBT_TESTFUNC* func);
|
||||
virtual ~NDBT_Finalizer() {}
|
||||
};
|
||||
|
||||
|
||||
@ -174,7 +180,8 @@ public:
|
||||
NDBT_TestCase(NDBT_TestSuite* psuite,
|
||||
const char* name,
|
||||
const char* comment);
|
||||
virtual ~NDBT_TestCase(){};
|
||||
virtual ~NDBT_TestCase(){}
|
||||
|
||||
// This is the default executor of a test case
|
||||
// When a test case is executed it will need to be suplied with a number of
|
||||
// different parameters and settings, these are passed to the test in the
|
||||
|
Reference in New Issue
Block a user