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
replace header guards with #pragma once
This commit is contained in:
@ -32,8 +32,7 @@
|
||||
* class BRMReporter
|
||||
*/
|
||||
|
||||
#ifndef _WE_BRMREPORTER_H_
|
||||
#define _WE_BRMREPORTER_H_
|
||||
#pragma once
|
||||
|
||||
namespace WriteEngine
|
||||
{
|
||||
@ -144,4 +143,3 @@ private:
|
||||
|
||||
} // end of namespace
|
||||
|
||||
#endif // _WE_BRMREPORTER_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_BULKLOAD_H_
|
||||
#define _WE_BULKLOAD_H_
|
||||
#pragma once
|
||||
#ifndef _MSC_VER
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
@ -574,4 +573,3 @@ inline bool BulkLoad::disableTimeOut() const
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_BULKLOAD_H_
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_bulkloadbuffer.h 4489 2013-01-30 18:47:53Z dcathey $
|
||||
*
|
||||
********************************************************************/
|
||||
#ifndef _WE_BULKLOADBUFFER_H
|
||||
#define _WE_BULKLOADBUFFER_H
|
||||
#pragma once
|
||||
|
||||
#include "we_type.h"
|
||||
#include "limits"
|
||||
@ -422,4 +421,3 @@ inline bool isTrueWord(const char *field, int fieldLength)
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_BULKSTATUS_H_
|
||||
#define _WE_BULKSTATUS_H_
|
||||
#pragma once
|
||||
|
||||
#if 0 //defined(_MSC_VER) && defined(WE_BULKSTATUS_DLLEXPORT)
|
||||
#define EXPORT __declspec(dllexport)
|
||||
@ -62,4 +61,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_BULKSTATUS_H_
|
||||
|
@ -24,8 +24,7 @@
|
||||
* class ColumnBuffer
|
||||
*/
|
||||
|
||||
#ifndef WRITEENGINE_COLUMNBUF_H
|
||||
#define WRITEENGINE_COLUMNBUF_H
|
||||
#pragma once
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
@ -130,4 +129,3 @@ protected:
|
||||
|
||||
}
|
||||
|
||||
#endif //WRITEENGINE_COLUMNBUF_H
|
||||
|
@ -24,8 +24,7 @@
|
||||
* class ColumnBufferCompressed
|
||||
*/
|
||||
|
||||
#ifndef WRITEENGINE_COLUMNBUFCOMPRESSED_H
|
||||
#define WRITEENGINE_COLUMNBUFCOMPRESSED_H
|
||||
#pragma once
|
||||
|
||||
#include "we_colbuf.h"
|
||||
|
||||
@ -118,4 +117,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif //WRITEENGINE_COLUMNBUFCOMPRESSED_H
|
||||
|
@ -24,8 +24,7 @@
|
||||
* class ColumnBufferManager
|
||||
*/
|
||||
|
||||
#ifndef WRITEENGINE_COLBUFMGR_H
|
||||
#define WRITEENGINE_COLBUFMGR_H
|
||||
#pragma once
|
||||
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <boost/thread/condition.hpp>
|
||||
@ -277,4 +276,3 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
#endif /*WRITEENGINE_COLBUFMGR_H*/
|
||||
|
@ -24,8 +24,7 @@
|
||||
/** @file
|
||||
* class ColumnBufferSection
|
||||
*/
|
||||
#ifndef WRITEENGINE_COLBUFSEC_H
|
||||
#define WRITEENGINE_COLBUFSEC_H
|
||||
#pragma once
|
||||
|
||||
#include "we_type.h"
|
||||
#include "we_colbuf.h"
|
||||
@ -116,5 +115,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif /*WRITEENGINE_COLBUFSEC_H*/
|
||||
|
||||
|
@ -25,8 +25,7 @@
|
||||
* For ex: this is where we track the min/max values per extent for a column.
|
||||
*/
|
||||
|
||||
#ifndef WE_COLEXTINF_H_
|
||||
#define WE_COLEXTINF_H_
|
||||
#pragma once
|
||||
|
||||
#include <limits>
|
||||
#include <stdint.h>
|
||||
@ -273,4 +272,3 @@ private:
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // WE_COLEXTINF_H_
|
||||
|
@ -24,8 +24,7 @@
|
||||
* class ColumnOpBulk
|
||||
*/
|
||||
|
||||
#ifndef _WE_COLOP_BULK_H_
|
||||
#define _WE_COLOP_BULK_H_
|
||||
#pragma once
|
||||
|
||||
#include "we_colop.h"
|
||||
|
||||
@ -59,4 +58,3 @@ public:
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // _WE_COLOP_BULK_H_
|
||||
|
@ -23,8 +23,7 @@
|
||||
* Contains classes to manage the "next value" for an auto-increment column.
|
||||
*/
|
||||
|
||||
#ifndef WE_COLUMNAUTOINC_H_
|
||||
#define WE_COLUMNAUTOINC_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <boost/thread/mutex.hpp>
|
||||
@ -127,4 +126,3 @@ public:
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // WE_COLUMNAUTOINC_H_
|
||||
|
@ -24,8 +24,7 @@
|
||||
* Contains main class used to manage column information.
|
||||
*/
|
||||
|
||||
#ifndef _WE_COLUMNINFO_H
|
||||
#define _WE_COLUMNINFO_H
|
||||
#pragma once
|
||||
|
||||
#include "we_type.h"
|
||||
#include "we_brm.h"
|
||||
@ -591,4 +590,3 @@ inline void ColumnInfo::updateCPInfo(
|
||||
|
||||
} // end of namespace
|
||||
|
||||
#endif
|
||||
|
@ -24,8 +24,7 @@
|
||||
* Contains main class used to manage compressed column information.
|
||||
*/
|
||||
|
||||
#ifndef _WE_COLUMNINFOCOMPRESSED_H
|
||||
#define _WE_COLUMNINFOCOMPRESSED_H
|
||||
#pragma once
|
||||
|
||||
#include "we_columninfo.h"
|
||||
#include "we_fileop.h"
|
||||
@ -98,4 +97,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -24,8 +24,7 @@
|
||||
* Contains class to allocate a "stripe" of extents for all columns across a tbl
|
||||
*/
|
||||
|
||||
#ifndef WE_EXTENTSTRIPEALLOC_H_
|
||||
#define WE_EXTENTSTRIPEALLOC_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -181,4 +180,3 @@ private:
|
||||
|
||||
} //end of namespace
|
||||
|
||||
#endif // WE_EXTENTSTRIPEALLOC_H_
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_tableinfo.h 4648 2013-05-29 21:42:40Z rdempsey $
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef _WE_TABLEINFO_H
|
||||
#define _WE_TABLEINFO_H
|
||||
#pragma once
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <fstream>
|
||||
@ -685,4 +684,3 @@ inline void TableInfo::setErrorDir( const std::string& errorDir )
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_TEMPXMLGENDATA_H_
|
||||
#define _WE_TEMPXMLGENDATA_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <iosfwd>
|
||||
@ -53,4 +52,3 @@ private:
|
||||
|
||||
} // end of WriteEngine namespace
|
||||
|
||||
#endif // _WE_TEMPXMLGENDATA_H_
|
||||
|
Reference in New Issue
Block a user