summaryrefslogtreecommitdiff
path: root/ndb/test/include
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-08-11 10:03:43 +0200
committerunknown <joreland@mysql.com>2004-08-11 10:03:43 +0200
commitef0d6d35ea8b19a9d66f1c0f676cbf71aa3462a7 (patch)
treeb385c057d9de08f5af652bf407f34f4a49816f79 /ndb/test/include
parentf0e138446084a6b08b59aa41d6975b551534de8a (diff)
downloadmariadb-git-ef0d6d35ea8b19a9d66f1c0f676cbf71aa3462a7.tar.gz
Add indexes to test toolkit
ndb/test/include/NDBT_Table.hpp: Remove unused parameter ndb/test/include/NDBT_Tables.hpp: Add existsOk ndb/test/src/NDBT_Tables.cpp: Rename C2_* tables to I{123} Add indexes to I{123} ndb/test/src/NDBT_Test.cpp: Rename C2_* tables to I{123} Add indexes to I{123}
Diffstat (limited to 'ndb/test/include')
-rw-r--r--ndb/test/include/NDBT_Table.hpp5
-rw-r--r--ndb/test/include/NDBT_Tables.hpp3
2 files changed, 4 insertions, 4 deletions
diff --git a/ndb/test/include/NDBT_Table.hpp b/ndb/test/include/NDBT_Table.hpp
index 94d7d5dda3b..59db3ed1092 100644
--- a/ndb/test/include/NDBT_Table.hpp
+++ b/ndb/test/include/NDBT_Table.hpp
@@ -50,13 +50,12 @@ public:
NDBT_Table(const char* name,
int noOfAttributes,
- const NdbDictionary::Column attributes[],
- bool stored = true)
+ const NdbDictionary::Column attributes[])
: NdbDictionary::Table(name)
{
assert(name != 0);
- setStoredTable(stored);
+ //setStoredTable(stored);
for(int i = 0; i<noOfAttributes; i++)
addColumn(attributes[i]);
}
diff --git a/ndb/test/include/NDBT_Tables.hpp b/ndb/test/include/NDBT_Tables.hpp
index 1da9818ee70..aa78f7d4e2c 100644
--- a/ndb/test/include/NDBT_Tables.hpp
+++ b/ndb/test/include/NDBT_Tables.hpp
@@ -26,7 +26,8 @@
class NDBT_Tables {
public:
- static int createTable(Ndb* pNdb, const char* _name, bool _temp = false);
+ static int createTable(Ndb* pNdb, const char* _name, bool _temp = false,
+ bool existsOK = false);
static int createAllTables(Ndb* pNdb, bool _temp, bool existsOK = false);
static int createAllTables(Ndb* pNdb);