You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Reformat all code to coding standard
This commit is contained in:
@ -14,50 +14,50 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
/*******************************************************************************
|
||||
* $Id$
|
||||
*
|
||||
*******************************************************************************/
|
||||
|
||||
/*
|
||||
* we_tableLockgrabber.h
|
||||
*
|
||||
* Created on: Dec 19, 2011
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_TABLELOCKGRABBER_H_
|
||||
#define WE_TABLELOCKGRABBER_H_
|
||||
|
||||
|
||||
|
||||
namespace WriteEngine
|
||||
{
|
||||
|
||||
class WESDHandler; // forward deceleration
|
||||
|
||||
class WETableLockGrabber
|
||||
{
|
||||
public:
|
||||
WETableLockGrabber(WESDHandler& Ref): fRef(Ref) { }
|
||||
virtual ~WETableLockGrabber() { }
|
||||
|
||||
public:
|
||||
|
||||
uint64_t grabTableLock(std::vector<unsigned int> &PmList,
|
||||
uint32_t tableOID);
|
||||
|
||||
bool releaseTableLock(uint64_t LockId);
|
||||
|
||||
bool changeTableLockState(uint64_t LockId);
|
||||
|
||||
|
||||
private:
|
||||
WESDHandler& fRef;
|
||||
|
||||
};
|
||||
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_TABLELOCKGRABBER_H_ */
|
||||
|
||||
/*******************************************************************************
|
||||
* $Id$
|
||||
*
|
||||
*******************************************************************************/
|
||||
|
||||
/*
|
||||
* we_tableLockgrabber.h
|
||||
*
|
||||
* Created on: Dec 19, 2011
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_TABLELOCKGRABBER_H_
|
||||
#define WE_TABLELOCKGRABBER_H_
|
||||
|
||||
|
||||
|
||||
namespace WriteEngine
|
||||
{
|
||||
|
||||
class WESDHandler; // forward deceleration
|
||||
|
||||
class WETableLockGrabber
|
||||
{
|
||||
public:
|
||||
WETableLockGrabber(WESDHandler& Ref): fRef(Ref) { }
|
||||
virtual ~WETableLockGrabber() { }
|
||||
|
||||
public:
|
||||
|
||||
uint64_t grabTableLock(std::vector<unsigned int>& PmList,
|
||||
uint32_t tableOID);
|
||||
|
||||
bool releaseTableLock(uint64_t LockId);
|
||||
|
||||
bool changeTableLockState(uint64_t LockId);
|
||||
|
||||
|
||||
private:
|
||||
WESDHandler& fRef;
|
||||
|
||||
};
|
||||
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_TABLELOCKGRABBER_H_ */
|
||||
|
Reference in New Issue
Block a user