summaryrefslogtreecommitdiff
path: root/ndb/test/include
diff options
context:
space:
mode:
authorjoreland@mysql.com <>2005-01-14 08:58:50 +0100
committerjoreland@mysql.com <>2005-01-14 08:58:50 +0100
commit7015a48cf5c0efdf1f5b34f521a1117069add965 (patch)
tree9d0e47cac0e5eff8a896717aff21eca572de183a /ndb/test/include
parent19ef71991279c57f4cbcd201f724ecced0255f82 (diff)
downloadmariadb-git-7015a48cf5c0efdf1f5b34f521a1117069add965.tar.gz
wl2240 - ndb - new testcase for validating startTransation with hint
Diffstat (limited to 'ndb/test/include')
-rw-r--r--ndb/test/include/HugoCalculator.hpp7
-rw-r--r--ndb/test/include/HugoOperations.hpp8
2 files changed, 6 insertions, 9 deletions
diff --git a/ndb/test/include/HugoCalculator.hpp b/ndb/test/include/HugoCalculator.hpp
index 108af0d1358..03de46cd7ea 100644
--- a/ndb/test/include/HugoCalculator.hpp
+++ b/ndb/test/include/HugoCalculator.hpp
@@ -31,13 +31,6 @@ class HugoCalculator {
public:
HugoCalculator(const NdbDictionary::Table& tab);
Int32 calcValue(int record, int attrib, int updates) const;
-#if 0
- U_Int32 calcValue(int record, int attrib, int updates) const;
- U_Int64 calcValue(int record, int attrib, int updates) const;
- Int64 calcValue(int record, int attrib, int updates) const;
- float calcValue(int record, int attrib, int updates) const;
- double calcValue(int record, int attrib, int updates) const;
-#endif
const char* calcValue(int record, int attrib, int updates, char* buf, int len) const;
int verifyRowValues(NDBT_ResultRow* const pRow) const;
diff --git a/ndb/test/include/HugoOperations.hpp b/ndb/test/include/HugoOperations.hpp
index d7f336a117d..38e53d765ec 100644
--- a/ndb/test/include/HugoOperations.hpp
+++ b/ndb/test/include/HugoOperations.hpp
@@ -29,8 +29,9 @@ public:
~HugoOperations();
int startTransaction(Ndb*);
+ int setTransaction(NdbTransaction*);
int closeTransaction(Ndb*);
- NdbConnection* getTransaction();
+ NdbTransaction* getTransaction();
void refresh();
int pkInsertRecord(Ndb*,
@@ -68,10 +69,13 @@ public:
int attrId,
int rowId,
int updateId);
+
int equalForAttr(NdbOperation*,
int attrId,
int rowId);
-
+
+ int setValues(NdbOperation*, int rowId, int updateId);
+
int verifyUpdatesValue(int updatesValue, int _numRows = 0);
int indexReadRecords(Ndb*, const char * idxName, int recordNo,