mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
wl1671 - bug fixes
ndb/include/ndbapi/NdbConnection.hpp: Made releaseCompletedOpertions private and introduced NdbConnection::restart instead. This methods basically check a bunch of status flags before calling releaseCompletedOperations ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Introduced MARKRE_TRACE Fixed bug on not releasing marker at execABORT ndb/src/ndbapi/NdbConnection.cpp: Made releaseCompletedOpertions private and introduced NdbConnection::restart instead. This methods basically check a bunch of status flags before calling releaseCompletedOperations ndb/src/ndbapi/Ndbif.cpp: Use MARKER_TRACE ndb/test/src/HugoTransactions.cpp: Use restart instead of releaseCompletedOperations ndb/test/src/UtilTransactions.cpp: Use restart instead of releaseCompletedOperations ndb/tools/delete_all.cpp: Use restart instead of releaseCompletedOperations
This commit is contained in:
@ -309,6 +309,16 @@ public:
|
||||
*/
|
||||
void close();
|
||||
|
||||
/**
|
||||
* Restart transaction
|
||||
*
|
||||
* Once a transaction has been completed successfully
|
||||
* it can be started again wo/ calling closeTransaction/startTransaction
|
||||
*
|
||||
* Note this method also releases completed operations
|
||||
*/
|
||||
int restart();
|
||||
|
||||
/** @} *********************************************************************/
|
||||
|
||||
/**
|
||||
@ -417,16 +427,14 @@ public:
|
||||
*/
|
||||
const NdbOperation * getNextCompletedOperation(const NdbOperation * op)const;
|
||||
|
||||
/** @} *********************************************************************/
|
||||
|
||||
private:
|
||||
/**
|
||||
* Release completed operations
|
||||
*/
|
||||
void releaseCompletedOperations();
|
||||
|
||||
|
||||
/** @} *********************************************************************/
|
||||
|
||||
private:
|
||||
|
||||
typedef Uint64 TimeMillis_t;
|
||||
/**************************************************************************
|
||||
* These methods are service methods to other classes in the NDBAPI. *
|
||||
|
Reference in New Issue
Block a user