You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
replace header guards with #pragma once
This commit is contained in:
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_BLOCKOP_H_
|
||||
#define _WE_BLOCKOP_H_
|
||||
#pragma once
|
||||
|
||||
#include <we_obj.h>
|
||||
|
||||
@ -138,4 +137,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_BLOCKOP_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_BRM_H_
|
||||
#define _WE_BRM_H_
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
@ -768,4 +767,3 @@ inline int BRMWrapper::takeSnapshot()
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_BRM_H_
|
||||
|
@ -27,8 +27,7 @@
|
||||
* file did not exist prior to an aborted bulk load.
|
||||
*/
|
||||
|
||||
#ifndef WE_BULKROLLBACKFILE_H_
|
||||
#define WE_BULKROLLBACKFILE_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -204,4 +203,3 @@ inline int BulkRollbackFile::buildDirName( OID oid,
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // WE_BULKROLLBACKFILE_H_
|
||||
|
@ -23,8 +23,7 @@
|
||||
* Contains class to restore compressed db files on behalf of BulkRollBackMgr.
|
||||
*/
|
||||
|
||||
#ifndef WE_BULKROLLBACKFILECOMPRESSED_H_
|
||||
#define WE_BULKROLLBACKFILECOMPRESSED_H_
|
||||
#pragma once
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
@ -154,4 +153,3 @@ private:
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // WE_BULKROLLBACKFILECOMPRESSED_H_
|
||||
|
@ -19,8 +19,7 @@
|
||||
* Class to restore compressed hdfs db files on behalf of BulkRollBackMgr.
|
||||
*/
|
||||
|
||||
#ifndef WE_BULKROLLBACKFILECOMPRESSEDHDFS_H_
|
||||
#define WE_BULKROLLBACKFILECOMPRESSEDHDFS_H_
|
||||
#pragma once
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
@ -136,4 +135,3 @@ private:
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // WE_BULKROLLBACKFILECOMPRESSEDHDFS_H_
|
||||
|
@ -24,8 +24,7 @@
|
||||
* based on HWM meta data saved by a bulk load.
|
||||
*/
|
||||
|
||||
#ifndef WE_BULKROLLBACKMGR_H_
|
||||
#define WE_BULKROLLBACKMGR_H_
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
@ -234,4 +233,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // WE_BULKROLLBACKMGR_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
******************************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_CACHE_H_
|
||||
#define _WE_CACHE_H_
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
#ifdef _MSC_VER
|
||||
#include <unordered_map>
|
||||
@ -227,4 +226,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_CACHE_H_
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef CHUNK_MANAGER_H
|
||||
#define CHUNK_MANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include <cstdio>
|
||||
#include <map>
|
||||
@ -393,5 +392,4 @@ protected:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // CHUNK_MANAGER_H
|
||||
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef WE_CONFIG_H_
|
||||
#define WE_CONFIG_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <boost/thread.hpp>
|
||||
@ -198,4 +197,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // WE_CONFIG_H_
|
||||
|
@ -17,8 +17,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef CONFIRM_HDFS_DBFILE_H
|
||||
#define CONFIRM_HDFS_DBFILE_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -136,4 +135,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // CONFIRM_HDFS_DBFILE_H
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_CONVERTOR_H_
|
||||
#define _WE_CONVERTOR_H_
|
||||
#pragma once
|
||||
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
@ -150,4 +149,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_CONVERTOR_H_
|
||||
|
@ -19,8 +19,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_DBFILEOP_H_
|
||||
#define _WE_DBFILEOP_H_
|
||||
#pragma once
|
||||
|
||||
#include "we_type.h"
|
||||
#include "we_fileop.h"
|
||||
@ -251,4 +250,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_DBFILEOP_H_
|
||||
|
@ -32,8 +32,7 @@
|
||||
* countered.
|
||||
*/
|
||||
|
||||
#ifndef WE_DBROOTEXTENTTRACKER_H_
|
||||
#define WE_DBROOTEXTENTTRACKER_H_
|
||||
#pragma once
|
||||
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <vector>
|
||||
@ -237,4 +236,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // WE_DBROOTEXTENTTRACKER_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
|
||||
#undef NO_ERROR
|
||||
|
||||
#ifndef _WE_DEFINE_H_
|
||||
#define _WE_DEFINE_H_
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <stdint.h>
|
||||
@ -398,4 +397,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_DEFINE_H_
|
||||
|
@ -19,8 +19,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_FILEOP_H_
|
||||
#define _WE_FILEOP_H_
|
||||
#pragma once
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string>
|
||||
@ -608,4 +607,3 @@ inline TxnID FileOp::getTransId() const
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_FILEOP_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
******************************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_INDEX_H_
|
||||
#define _WE_INDEX_H_
|
||||
#pragma once
|
||||
|
||||
#include <bitset>
|
||||
|
||||
@ -452,4 +451,3 @@ struct IdxLoadParam
|
||||
};
|
||||
|
||||
} //end of namespace
|
||||
#endif // _WE_INDEX_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_LOG_H_
|
||||
#define _WE_LOG_H_
|
||||
#pragma once
|
||||
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
@ -125,4 +124,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_LOG_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
******************************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_MACRO_H_
|
||||
#define _WE_MACRO_H_
|
||||
#pragma once
|
||||
|
||||
#include <we_type.h>
|
||||
|
||||
@ -50,4 +49,3 @@ namespace WriteEngine
|
||||
return NO_ERROR;
|
||||
|
||||
} //end of namespace
|
||||
#endif // _WE_MACRO_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
******************************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_OBJ_H_
|
||||
#define _WE_OBJ_H_
|
||||
#pragma once
|
||||
|
||||
//#include <we_type.h>
|
||||
#include <we_macro.h>
|
||||
@ -93,4 +92,3 @@ private:
|
||||
|
||||
|
||||
} //end of namespace
|
||||
#endif // _WE_OBJ_H_
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Nothing.
|
||||
*/
|
||||
|
||||
#ifndef WE_RBMETAWRITER_H_
|
||||
#define WE_RBMETAWRITER_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
@ -378,4 +377,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // WE_RBMETAWRITER_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_SIMPLESYSLOG_H_
|
||||
#define _WE_SIMPLESYSLOG_H_
|
||||
#pragma once
|
||||
|
||||
#include <boost/thread.hpp>
|
||||
|
||||
@ -79,4 +78,3 @@ private:
|
||||
#undef EXPORT
|
||||
|
||||
} //end of namespace
|
||||
#endif // _WE_SIMPLESYSLOG_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_STATS_H_
|
||||
#define _WE_STATS_H_
|
||||
#pragma once
|
||||
#include <we_obj.h>
|
||||
#ifdef PROFILE
|
||||
#include <boost/thread/mutex.hpp>
|
||||
@ -180,4 +179,3 @@ private:
|
||||
|
||||
|
||||
} //end of namespace
|
||||
#endif // _WE_STATIS_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
/** @file */
|
||||
|
||||
|
||||
#ifndef _WE_TYPE_H_
|
||||
#define _WE_TYPE_H_
|
||||
#pragma once
|
||||
|
||||
#undef EXPORT
|
||||
#undef DELETE
|
||||
@ -546,4 +545,3 @@ private:
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // _WE_TYPE_H_
|
||||
|
@ -27,8 +27,7 @@
|
||||
* in we_type.h and/or we_define.h.
|
||||
*/
|
||||
|
||||
#ifndef _WE_TYPEEXT_H_
|
||||
#define _WE_TYPEEXT_H_
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <pwd.h>
|
||||
@ -111,4 +110,3 @@ inline bool WeUIDGID::chownPath(std::ostringstream& error,
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // _WE_TYPEEXT_H_
|
||||
|
Reference in New Issue
Block a user