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_
|
||||
|
@ -19,8 +19,7 @@
|
||||
//
|
||||
/** @file */
|
||||
|
||||
#ifndef WECLIENTS_H__
|
||||
#define WECLIENTS_H__
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
@ -172,5 +171,4 @@ public:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef WE_DDLCOMMANDCLIENT_H__
|
||||
#define WE_DDLCOMMANDCLIENT_H__
|
||||
#pragma once
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
@ -63,4 +62,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef WE_DMLCOMMANDCLIENT_H__
|
||||
#define WE_DMLCOMMANDCLIENT_H__
|
||||
#pragma once
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
@ -55,4 +54,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif
|
||||
|
@ -24,8 +24,7 @@
|
||||
* can be deleted
|
||||
*/
|
||||
|
||||
#ifndef _WE_DCTNRY_H_
|
||||
#define _WE_DCTNRY_H_
|
||||
#pragma once
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstddef>
|
||||
@ -349,4 +348,3 @@ protected:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_DCTNRY_H_
|
||||
|
@ -33,8 +33,7 @@
|
||||
* delete tokens. But this function is not currently used.
|
||||
*/
|
||||
|
||||
#ifndef _WE_DctnryStore_H_
|
||||
#define _WE_DctnryStore_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -227,4 +226,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_DctnryStore_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
******************************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_FREEMGR_H_
|
||||
#define _WE_FREEMGR_H_
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -121,4 +120,3 @@ public:
|
||||
};
|
||||
|
||||
} //end of namespace
|
||||
#endif // _WE_FREEMGR_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
******************************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_IndexList_H_
|
||||
#define _WE_IndexList_H_
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
@ -484,4 +483,3 @@ private:
|
||||
};
|
||||
//std::ostream& operator<<(std::ostream& os, const IndexList& rhs);
|
||||
} //end of namespace
|
||||
#endif // _WE_IndexList_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
******************************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_INDEXTREE_H_
|
||||
#define _WE_INDEXTREE_H_
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -331,4 +330,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_INDEXTREE_H_
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_redistribute.h 4450 2013-01-21 14:13:24Z rdempsey $
|
||||
*/
|
||||
|
||||
#ifndef WE_REDISTRIBUTE_H
|
||||
#define WE_REDISTRIBUTE_H
|
||||
#pragma once
|
||||
|
||||
// forward reference
|
||||
|
||||
@ -48,7 +47,6 @@ private:
|
||||
} // namespace
|
||||
|
||||
|
||||
#endif // WE_REDISTRIBUTE_H
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_redistributecontrol.h 4450 2013-01-21 14:13:24Z rdempsey $
|
||||
*/
|
||||
|
||||
#ifndef WE_REDISTRIBUTECONTROL_H
|
||||
#define WE_REDISTRIBUTECONTROL_H
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <stdio.h>
|
||||
@ -129,7 +128,6 @@ private:
|
||||
} // namespace
|
||||
|
||||
|
||||
#endif // WE_REDISTRIBUTECONTROL_H
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_redistributecontrolthread.h 4450 2013-01-21 14:13:24Z rdempsey $
|
||||
*/
|
||||
|
||||
#ifndef WE_REDISTRIBUTECONTROLTHREAD_H
|
||||
#define WE_REDISTRIBUTECONTROLTHREAD_H
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
@ -129,7 +128,6 @@ private:
|
||||
} // namespace
|
||||
|
||||
|
||||
#endif // WE_REDISTRIBUTECONTROLTHREAD_H
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_redistributedef.h 4450 2013-01-21 14:13:24Z rdempsey $
|
||||
*/
|
||||
|
||||
#ifndef WE_REDISTRIBUTEDEF_H
|
||||
#define WE_REDISTRIBUTEDEF_H
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
@ -207,7 +206,6 @@ struct RedistributeInfo
|
||||
} // namespace
|
||||
|
||||
|
||||
#endif // WE_REDISTRIBUTEDEF_H
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_redistributeworkerthread.h 4450 2013-01-21 14:13:24Z rdempsey $
|
||||
*/
|
||||
|
||||
#ifndef WE_REDISTRIBUTEWORKERTHREAD_H
|
||||
#define WE_REDISTRIBUTEWORKERTHREAD_H
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
@ -153,7 +152,6 @@ private:
|
||||
} // namespace
|
||||
|
||||
|
||||
#endif // WE_REDISTRIBUTEWORKERTHREAD_H
|
||||
|
||||
// vim:ts=4 sw=4:
|
||||
|
||||
|
@ -26,8 +26,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_BRMRPRTPARSER_H_
|
||||
#define WE_BRMRPRTPARSER_H_
|
||||
#pragma once
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
@ -71,4 +70,3 @@ private:
|
||||
};
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_BRMRPRTPARSER_H_ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_cleartablelockcmd.h 4450 2013-01-21 14:13:24Z rdempsey $
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef WE_CLEARTABLELOCKCMD_H__
|
||||
#define WE_CLEARTABLELOCKCMD_H__
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -61,4 +60,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_CPIFEEDERTHREAD_H_
|
||||
#define WE_CPIFEEDERTHREAD_H_
|
||||
#pragma once
|
||||
|
||||
#include <queue>
|
||||
|
||||
@ -93,4 +92,3 @@ private:
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
|
||||
#endif /* WE_CPIFEEDERTHREAD_H_ */
|
||||
|
@ -30,8 +30,7 @@
|
||||
|
||||
|
||||
|
||||
#ifndef WE_DATALOADER_H_
|
||||
#define WE_DATALOADER_H_
|
||||
#pragma once
|
||||
|
||||
#include "rwlock_local.h"
|
||||
#include "resourcemanager.h"
|
||||
@ -218,4 +217,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif /* WE_DATALOADER_H_ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_ddlcommandproc.h 3043 2011-08-29 22:03:03Z chao $
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef WE_DDLCOMMANDPROC_H__
|
||||
#define WE_DDLCOMMANDPROC_H__
|
||||
#pragma once
|
||||
|
||||
#include <unistd.h>
|
||||
#include "bytestream.h"
|
||||
@ -116,4 +115,3 @@ private:
|
||||
};
|
||||
}
|
||||
#undef EXPORT
|
||||
#endif
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
#ifndef WE_DDLCOMMON_H
|
||||
#define WE_DDLCOMMON_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
@ -330,5 +329,4 @@ inline void convertRidToColumn(uint64_t& rid, unsigned& dbRoot, unsigned& partit
|
||||
|
||||
}
|
||||
#undef EXPORT
|
||||
#endif
|
||||
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_ddlcommandproc.h 3043 2011-08-29 22:03:03Z chao $
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef WE_DMLCOMMANDPROC_H__
|
||||
#define WE_DMLCOMMANDPROC_H__
|
||||
#pragma once
|
||||
|
||||
#include <unistd.h>
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
@ -137,4 +136,3 @@ private:
|
||||
|
||||
}
|
||||
#undef EXPORT
|
||||
#endif
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_getfilesizes.h 4450 2013-04-15 14:13:24Z chao $
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef WE_GETFILESIZES_H__
|
||||
#define WE_GETFILESIZES_H__
|
||||
#pragma once
|
||||
|
||||
#include <unistd.h>
|
||||
#include <string>
|
||||
@ -81,4 +80,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_message_handlers.h 4450 2013-01-21 14:13:24Z rdempsey $
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef WE_MESSAGE_HANDLERS_H__
|
||||
#define WE_MESSAGE_HANDLERS_H__
|
||||
#pragma once
|
||||
|
||||
#include "bytestream.h"
|
||||
|
||||
@ -32,5 +31,4 @@ extern messageqcpp::ByteStream::byte doMsg2(messageqcpp::ByteStream& bs, std::st
|
||||
extern messageqcpp::ByteStream::byte doUpdateSyscolumnNextval(messageqcpp::ByteStream& bs, std::string err);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_messages.h 4609 2013-04-19 15:32:02Z chao $
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef WE_MESSAGES_H__
|
||||
#define WE_MESSAGES_H__
|
||||
#pragma once
|
||||
|
||||
namespace WriteEngine
|
||||
{
|
||||
@ -118,5 +117,4 @@ enum ServerMessages
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul@calpont.com
|
||||
*/
|
||||
|
||||
#ifndef OBSERVER_H_
|
||||
#define OBSERVER_H_
|
||||
#pragma once
|
||||
|
||||
#include <list>
|
||||
|
||||
@ -66,4 +65,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif /* OBSERVER_H_ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id: we_readthread.h 4609 2013-04-19 15:32:02Z chao $
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef WE_SRV_READTHREAD_H__
|
||||
#define WE_SRV_READTHREAD_H__
|
||||
#pragma once
|
||||
|
||||
#include <unistd.h>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
@ -156,5 +155,4 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -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_
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_BRMUPDATER_H_
|
||||
#define WE_BRMUPDATER_H_
|
||||
#pragma once
|
||||
|
||||
|
||||
namespace WriteEngine
|
||||
@ -87,4 +86,3 @@ private:
|
||||
};
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_BRMUPDATER_H_ */
|
||||
|
@ -19,8 +19,7 @@
|
||||
* $Id$
|
||||
*
|
||||
*******************************************************************************/
|
||||
#ifndef WE_CMDARGS_H_
|
||||
#define WE_CMDARGS_H_
|
||||
#pragma once
|
||||
|
||||
#include <set>
|
||||
|
||||
@ -353,4 +352,3 @@ inline std::string& WECmdArgs::getUsername()
|
||||
|
||||
}
|
||||
|
||||
#endif /* WE_CMDARGS_H_ */
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_FILEREADTHREAD_H_
|
||||
#define WE_FILEREADTHREAD_H_
|
||||
#pragma once
|
||||
|
||||
#include "we_cmdargs.h"
|
||||
#include "libmarias3/marias3.h"
|
||||
@ -174,4 +173,3 @@ private:
|
||||
};
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_FILEREADTHREAD_H_ */
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_RESPREADTHREAD_H_
|
||||
#define WE_RESPREADTHREAD_H_
|
||||
#pragma once
|
||||
|
||||
namespace WriteEngine
|
||||
{
|
||||
@ -48,4 +47,3 @@ private:
|
||||
};
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_RESPREADTHREAD_H_ */
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_SPLITTERDATAHANDLER_H_
|
||||
#define WE_SPLITTERDATAHANDLER_H_
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "liboamcpp.h"
|
||||
@ -409,4 +408,3 @@ private:
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
|
||||
#endif /* WE_SPLITTERDATAHANDLER_H_ */
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_SPLCLIENT_H_
|
||||
#define WE_SPLCLIENT_H_
|
||||
#pragma once
|
||||
|
||||
#include "threadsafequeue.h"
|
||||
#include "resourcemanager.h"
|
||||
@ -400,4 +399,3 @@ private:
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_SPLCLIENT_H_ */
|
||||
|
@ -26,8 +26,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_SPLITTERAPP_H_
|
||||
#define WE_SPLITTERAPP_H_
|
||||
#pragma once
|
||||
|
||||
#include <boost/thread/condition.hpp>
|
||||
#include <boost/scoped_array.hpp>
|
||||
@ -98,4 +97,3 @@ public:
|
||||
};
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_SPLITTERAPP_H_ */
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_TABLELOCKGRABBER_H_
|
||||
#define WE_TABLELOCKGRABBER_H_
|
||||
#pragma once
|
||||
|
||||
|
||||
|
||||
@ -60,4 +59,3 @@ private:
|
||||
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_TABLELOCKGRABBER_H_ */
|
||||
|
@ -27,8 +27,7 @@
|
||||
* Author: bpaul
|
||||
*/
|
||||
|
||||
#ifndef WE_XMLGETTER_H_
|
||||
#define WE_XMLGETTER_H_
|
||||
#pragma once
|
||||
|
||||
#include <libxml/parser.h>
|
||||
|
||||
@ -68,4 +67,3 @@ private:
|
||||
};
|
||||
|
||||
} /* namespace WriteEngine */
|
||||
#endif /* WE_XMLGETTER_H_ */
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_COLOP_H_
|
||||
#define _WE_COLOP_H_
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -348,4 +347,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_COLOP_H_
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_COLOP_COMPRESS_H_
|
||||
#define _WE_COLOP_COMPRESS_H_
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -194,4 +193,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_COLOP_COMPRESS_H_
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_DCTNRY_COMPRESS_H_
|
||||
#define _WE_DCTNRY_COMPRESS_H_
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -174,4 +173,3 @@ protected:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_DCTNRY_COMPRESS_H_
|
||||
|
@ -19,8 +19,7 @@
|
||||
//
|
||||
/** @file */
|
||||
|
||||
#ifndef WE_TABLEMETADATA_H__
|
||||
#define WE_TABLEMETADATA_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include "we_type.h"
|
||||
@ -99,6 +98,5 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif
|
||||
// vim:ts=4 sw=4:
|
||||
|
||||
|
@ -20,8 +20,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef _WRITE_ENGINE_H_
|
||||
#define _WRITE_ENGINE_H_
|
||||
#pragma once
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
@ -832,4 +831,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WRITE_ENGINE_H_
|
||||
|
@ -20,8 +20,7 @@
|
||||
*
|
||||
***********************************************************************/
|
||||
/** @file */
|
||||
#ifndef _WE_XMLGENDATA_H_
|
||||
#define _WE_XMLGENDATA_H_
|
||||
#pragma once
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
@ -120,4 +119,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,7 @@
|
||||
*
|
||||
***********************************************************************/
|
||||
/** @file */
|
||||
#ifndef WE_XMLGENPROC_H
|
||||
#define WE_XMLGENPROC_H
|
||||
#pragma once
|
||||
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/xmlwriter.h>
|
||||
@ -138,4 +137,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_XMLJOB_H_
|
||||
#define _WE_XMLJOB_H_
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@ -169,4 +168,3 @@ private:
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif // _WE_XMLJOB_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_XMLOP_H_
|
||||
#define _WE_XMLOP_H_
|
||||
#pragma once
|
||||
|
||||
#include "we_xmltag.h"
|
||||
#include "we_type.h"
|
||||
@ -116,4 +115,3 @@ private:
|
||||
|
||||
|
||||
} //end of namespace
|
||||
#endif // _WE_XMLOP_H_
|
||||
|
@ -21,8 +21,7 @@
|
||||
*******************************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef _WE_XMLTAG_H_
|
||||
#define _WE_XMLTAG_H_
|
||||
#pragma once
|
||||
#include <libxml/parser.h>
|
||||
|
||||
/** Namespace WriteEngine */
|
||||
@ -124,4 +123,3 @@ const char xmlTagTable[NUM_OF_XML_TAGS + 1][MAX_XML_TAG_NAME_SIZE] =
|
||||
};
|
||||
|
||||
} //end of namespace
|
||||
#endif // _WE_XMLTAG_H_
|
||||
|
Reference in New Issue
Block a user