summaryrefslogtreecommitdiff
path: root/storage/ndb/test/include/NDBT_Test.hpp
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2006-10-19 11:20:04 +0200
committerunknown <jonas@perch.ndb.mysql.com>2006-10-19 11:20:04 +0200
commitb8812c85db4bb6d16e99c0ee93dd21bc6e1b64bb (patch)
tree7f792adc455f513e4d80635ba416504cf753bfd7 /storage/ndb/test/include/NDBT_Test.hpp
parente4a398f1d355dea04621ad992d46ef02313da56f (diff)
downloadmariadb-git-b8812c85db4bb6d16e99c0ee93dd21bc6e1b64bb.tar.gz
ndb - add temporary tables to hugo
and use it for testOperations/testTransactions storage/ndb/test/include/NDBT_Test.hpp: Add support for temporary tables in hugo storage/ndb/test/ndbapi/testOperations.cpp: Make testOperations use temporary tables storage/ndb/test/ndbapi/testTransactions.cpp: Make testTransactions use temporary tables storage/ndb/test/src/NDBT_Tables.cpp: Add support for temporary tables in hugo storage/ndb/test/src/NDBT_Test.cpp: Add support for temporary tables in hugo
Diffstat (limited to 'storage/ndb/test/include/NDBT_Test.hpp')
-rw-r--r--storage/ndb/test/include/NDBT_Test.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/ndb/test/include/NDBT_Test.hpp b/storage/ndb/test/include/NDBT_Test.hpp
index a22aa6e53bf..8c3c22192fc 100644
--- a/storage/ndb/test/include/NDBT_Test.hpp
+++ b/storage/ndb/test/include/NDBT_Test.hpp
@@ -364,6 +364,9 @@ public:
// Table create tweaks
int createHook(Ndb*, NdbDictionary::Table&, int when);
Vector<BaseString> m_tables_in_test;
+
+ void setTemporaryTables(bool val);
+ bool getTemporaryTables() const;
private:
int executeOne(Ndb_cluster_connection&,
const char* _tabname, const char* testname = NULL);
@@ -390,6 +393,7 @@ private:
bool runonce;
const char* tsname;
bool createAllTables;
+ bool temporaryTables;
};