Commit 4f7360f3 authored by joreland@mysql.com's avatar joreland@mysql.com

ndb - hugo, fix closeTransaction in testPartitioning

parent 21edad59
...@@ -28,6 +28,8 @@ public: ...@@ -28,6 +28,8 @@ public:
UtilTransactions(Ndb* ndb, UtilTransactions(Ndb* ndb,
const char * tableName, const char * indexName = 0); const char * tableName, const char * indexName = 0);
int closeTransaction(Ndb*);
int clearTable(Ndb*, int clearTable(Ndb*,
int records = 0, int records = 0,
int parallelism = 0); int parallelism = 0);
......
...@@ -53,11 +53,7 @@ HugoOperations::setTransactionId(Uint64 id){ ...@@ -53,11 +53,7 @@ HugoOperations::setTransactionId(Uint64 id){
int HugoOperations::closeTransaction(Ndb* pNdb){ int HugoOperations::closeTransaction(Ndb* pNdb){
if (pTrans != NULL){ UtilTransactions::closeTransaction(pNdb);
pNdb->closeTransaction(pTrans);
pTrans = NULL;
}
pTrans = NULL;
m_result_sets.clear(); m_result_sets.clear();
m_executed_result_sets.clear(); m_executed_result_sets.clear();
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment