1
0
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:
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

@ -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_ */