summaryrefslogtreecommitdiff
path: root/ndb/test/include/HugoOperations.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/test/include/HugoOperations.hpp')
-rw-r--r--ndb/test/include/HugoOperations.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/ndb/test/include/HugoOperations.hpp b/ndb/test/include/HugoOperations.hpp
index a23d3018f47..34b2edc2ae8 100644
--- a/ndb/test/include/HugoOperations.hpp
+++ b/ndb/test/include/HugoOperations.hpp
@@ -38,6 +38,11 @@ public:
int numRecords = 1,
int updatesValue = 0);
+ int pkWriteRecord(Ndb*,
+ int recordNo,
+ int numRecords = 1,
+ int updatesValue = 0);
+
int pkReadRecord(Ndb*,
int recordNo,
int numRecords = 1,
@@ -88,6 +93,10 @@ public:
NdbScanOperation::LM_CommittedRead,
int numRecords = 1);
+
+ int execute_async(Ndb*, ExecType, AbortOption = AbortOnError);
+ int wait_async(Ndb*, int timeout = -1);
+
protected:
void allocRows(int rows);
void deallocRows();
@@ -102,6 +111,11 @@ protected:
Vector<RsPair> m_executed_result_sets;
NdbConnection* pTrans;
+
+ int m_async_reply;
+ int m_async_return;
+ friend void HugoOperations_async_callback(int, NdbConnection*, void*);
+ void callback(int res, NdbConnection*);
};
#endif