1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-27 21:01:50 +03:00

Reformat all code to coding standard

This commit is contained in:
Andrew Hutchings
2017-10-26 17:18:17 +01:00
parent 4985f3456e
commit 01446d1e22
1296 changed files with 403852 additions and 353747 deletions

View File

@ -20,7 +20,7 @@
*
*****************************************************************************/
/** @file
/** @file
* class XXX interface
*/
@ -39,30 +39,31 @@
#define EXPORT
#endif
namespace BRM {
namespace BRM
{
class TransactionNode : public RGNode
{
public:
EXPORT explicit TransactionNode(int txnid=0);
EXPORT virtual ~TransactionNode();
public:
EXPORT explicit TransactionNode(int txnid = 0);
EXPORT virtual ~TransactionNode();
EXPORT void setTxnID(VER_t);
EXPORT int getTxnID() const;
EXPORT void setTxnID(VER_t);
EXPORT int getTxnID() const;
EXPORT void sleep(boost::mutex &mutex);
EXPORT void wake();
EXPORT void die();
EXPORT bool dead();
EXPORT bool sleeping();
EXPORT void sleep(boost::mutex& mutex);
EXPORT void wake();
EXPORT void die();
EXPORT bool dead();
EXPORT bool sleeping();
private:
TransactionNode(const TransactionNode &);
TransactionNode& operator=(const TransactionNode &);
boost::condition condVar;
VER_t txnID;
bool _die, _sleeping;
private:
TransactionNode(const TransactionNode&);
TransactionNode& operator=(const TransactionNode&);
boost::condition condVar;
VER_t txnID;
bool _die, _sleeping;
};
#undef EXPORT