summaryrefslogtreecommitdiff
path: root/ndb/test/include/NDBT_Tables.hpp
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-11-15 11:21:21 +0100
committerunknown <joreland@mysql.com>2004-11-15 11:21:21 +0100
commit9d16201f2dcc3b68fd18765bb0b52a1f1816a79b (patch)
tree8c7ba249167ef6dd206b09dade93ed923544851c /ndb/test/include/NDBT_Tables.hpp
parent2efdf76554350a22c552f51e7aa77c50865ba820 (diff)
parent32f4f5ce55c84bf6ef3c0432adfe6d38bda03774 (diff)
downloadmariadb-git-9d16201f2dcc3b68fd18765bb0b52a1f1816a79b.tar.gz
merge
ndb/include/ndbapi/NdbDictionary.hpp: Auto merged ndb/src/common/debugger/signaldata/SignalDataPrint.cpp: Auto merged ndb/src/ndbapi/NdbDictionaryImpl.hpp: Auto merged ndb/src/ndbapi/NdbOperationExec.cpp: Auto merged ndb/src/ndbapi/NdbScanOperation.cpp: Auto merged
Diffstat (limited to 'ndb/test/include/NDBT_Tables.hpp')
-rw-r--r--ndb/test/include/NDBT_Tables.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ndb/test/include/NDBT_Tables.hpp b/ndb/test/include/NDBT_Tables.hpp
index aa78f7d4e2c..fb0df8aa35b 100644
--- a/ndb/test/include/NDBT_Tables.hpp
+++ b/ndb/test/include/NDBT_Tables.hpp
@@ -23,11 +23,13 @@
#include <NdbDictionary.hpp>
#include <NDBT_Table.hpp>
+typedef int (* NDBT_CreateTableHook)(Ndb*, NdbDictionary::Table&, int when);
+
class NDBT_Tables {
public:
-
+
static int createTable(Ndb* pNdb, const char* _name, bool _temp = false,
- bool existsOK = false);
+ bool existsOK = false, NDBT_CreateTableHook = 0);
static int createAllTables(Ndb* pNdb, bool _temp, bool existsOK = false);
static int createAllTables(Ndb* pNdb);