1
0
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:
Leonid Fedorov
2021-12-14 20:06:05 +03:00
parent ab449ebcc0
commit 01f3ceb437
638 changed files with 638 additions and 1914 deletions

View File

@ -16,8 +16,7 @@
MA 02110-1301, USA. */
#ifndef MCS_DATA_CONDITION_H
#define MCS_DATA_CONDITION_H
#pragma once
namespace datatypes
{
@ -80,4 +79,3 @@ private:
} // namespace datatypes
#endif // MCS_DATA_CONDITION_H

View File

@ -15,8 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef MCS_DATATYPE_H_INCLUDED
#define MCS_DATATYPE_H_INCLUDED
#pragma once
#include <sstream>
#include <boost/any.hpp>
@ -2883,6 +2882,5 @@ class TypeHandlerTimestamp: public TypeHandlerTemporal
}// end of namespace datatypes
#endif //MCS_DATATYPE_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_DATATYPE_BASIC_H_INCLUDED
#define MCS_DATATYPE_BASIC_H_INCLUDED
#pragma once
/*
This file contains simple definitions that can be
@ -91,5 +90,4 @@ uint64_t xFloatToMCSUInt64Round(SRC value)
} //end of namespace datatypes
#endif // MCS_DATATYPE_BASIC_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef H_DECIMALDATATYPE
#define H_DECIMALDATATYPE
#pragma once
#include <cstdint>
#include <cfloat>
@ -983,4 +982,3 @@ struct NoOverflowCheck {
};
} //end of namespace
#endif

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_DOUBLE_H_INCLUDED
#define MCS_DOUBLE_H_INCLUDED
#pragma once
#include "mcs_datatype_basic.h"
@ -52,5 +51,4 @@ public:
} //end of namespace datatypes
#endif // MCS_DOUBLE_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_TSFLOAT128_H_INCLUDED
#define MCS_TSFLOAT128_H_INCLUDED
#pragma once
#include <cfloat>
#include <cctype>
@ -631,6 +630,5 @@ class TFloat128
} //end of namespace
#endif // MCS_TSFLOAT128_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_INT128_H_INCLUDED
#define MCS_INT128_H_INCLUDED
#pragma once
#include <cfloat>
#include <cstdint>
@ -345,5 +344,4 @@ class TSInt128
} //end of namespace datatypes
#endif // MCS_TSINT128_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_INT64_H_INCLUDED
#define MCS_INT64_H_INCLUDED
#pragma once
#include "exceptclasses.h"
@ -173,5 +172,4 @@ public:
} //end of namespace datatypes
#endif // MCS_INT64_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -16,8 +16,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef MCS_LONGDOUBLE_H_INCLUDED
#define MCS_LONGDOUBLE_H_INCLUDED
#pragma once
#include "mcs_datatype_basic.h"
@ -52,5 +51,4 @@ public:
} //end of namespace datatypes
#endif // MCS_LONGDOUBLE_H_INCLUDED
// vim:ts=2 sw=2:

View File

@ -15,8 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef MCS_NUMERIC_LIMITS_H_INCLUDED
#define MCS_NUMERIC_LIMITS_H_INCLUDED
#pragma once
#include <limits>
@ -59,4 +58,3 @@ template<> struct numeric_limits<uint128_t>
} // namespace datatypes
#endif // MCS_NUMERIC_LIMITS_H_INCLUDED

View File

@ -16,8 +16,7 @@
MA 02110-1301, USA. */
#ifndef MCS_DATATYPES_STRING_H
#define MCS_DATATYPES_STRING_H
#pragma once
#include "conststring.h"
#include "collation.h" // class Charset
@ -50,4 +49,3 @@ public:
} // namespace datatypes
#endif // MCS_DATATYPES_STRING_H

View File

@ -16,8 +16,7 @@
MA 02110-1301, USA. */
#ifndef NUMERICLITERAL_H
#define NUMERICLITERAL_H
#pragma once
#include "genericparser.h"
#include "mcs_datatype.h"
@ -617,4 +616,3 @@ public:
} // namespace literal
#endif // NUMERICLITERAL_H

View File

@ -34,8 +34,7 @@
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
#pragma once
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype
@ -167,7 +166,6 @@ typedef union YYSTYPE
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE ddllval;

View File

@ -35,8 +35,7 @@
*
*/
#ifndef DDLPACKAGE_H
#define DDLPACKAGE_H
#pragma once
#include <vector>
#include <string>
@ -1651,4 +1650,3 @@ struct DropPartitionStatement : public SqlStatement
#undef EXPORT
#endif

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef ALTERTABLEPROCESSOR_H
#define ALTERTABLEPROCESSOR_H
#pragma once
#include "ddlpackageprocessor.h"
@ -159,4 +158,3 @@ private:
#undef EXPORT
#endif //ALTERTABLEPROCESSOR_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef CREATEINDEXPROCESSOR_H
#define CREATEINDEXPROCESSOR_H
#pragma once
#include "ddlpackageprocessor.h"
#include "ddlpkg.h"
@ -51,4 +50,3 @@ private:
};
} //namespace ddlpackageprocessor
#endif //CREATEINDEXPROCESSOR_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef CREATETABLEPROCESSOR_H
#define CREATETABLEPROCESSOR_H
#pragma once
#include "ddlpackageprocessor.h"
@ -61,4 +60,3 @@ private:
#undef EXPORT
#endif // CREATETABLEPROCESSOR_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef DDLPACKAGEPROCESSOR_H
#define DDLPACKAGEPROCESSOR_H
#pragma once
#include <unistd.h>
#include <string>
#include <stdexcept>
@ -879,6 +878,5 @@ bool from_string(T& t,
#undef EXPORT
#endif //DDLPACKAGEPROCESSOR_H
// vim:ts=4 sw=4:

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef DDLPACKAGEPROCESSORFACTORY_H
#define DDLPACKAGEPROCESSORFACTORY_H
#pragma once
#include <string>
#include "ddlpkg.h"
#include "ddlpackageprocessor.h"
@ -53,5 +52,4 @@ private:
};
}
#endif //DDLPACKAGEPROCESSORFACTORY_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef DROPINDEXPROCESSOR_H
#define DROPINDEXPROCESSOR_H
#pragma once
#include "ddlpackageprocessor.h"
@ -48,4 +47,3 @@ private:
};
} //namespace ddlpackageprocessor
#endif //DROPINDEXPROCESSOR_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef DROPPARTITIONEPROCESSOR_H
#define DROPPARTITIONEPROCESSOR_H
#pragma once
#include "ddlpackageprocessor.h"
@ -57,4 +56,3 @@ private:
#undef EXPORT
#endif //DROPPARTITIONEPROCESSOR_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef DROPTABLEPROCESSOR_H
#define DROPTABLEPROCESSOR_H
#pragma once
#include "ddlpackageprocessor.h"
@ -78,4 +77,3 @@ private:
#undef EXPORT
#endif //DROPTABLEPROCESSOR_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef MARKPARTITIONPROCESSOR_H
#define MARKPARTITIONPROCESSOR_H
#pragma once
#include "ddlpackageprocessor.h"
@ -60,4 +59,3 @@ private:
#undef EXPORT
#endif // MARKPARTITIONPROCESSOR_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef RESTOREPARTITIONEPROCESSOR_H
#define RESTOREPARTITIONEPROCESSOR_H
#pragma once
#include "ddlpackageprocessor.h"
@ -57,4 +56,3 @@ private:
#undef EXPORT
#endif //RESTOREPARTITIONEPROCESSOR_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef CALPONTDMLFACTORY_H
#define CALPONTDMLFACTORY_H
#pragma once
#include <string>
#include "dmlpackage.h"
#include "calpontdmlpackage.h"
@ -72,4 +71,3 @@ private:
#undef EXPORT
#endif //CALPONTDMLFACTORY_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef CALPONTDMLPACKAGE_H
#define CALPONTDMLPACKAGE_H
#pragma once
#include <string>
#include <boost/uuid/uuid.hpp>
@ -394,4 +393,3 @@ protected:
WriteEngine::ChunkManager* fCM;
};
}
#endif //CALPONTDMLPACKAGE_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef COMMANDDMLPACKAGE_H
#define COMMANDDMLPACKAGE_H
#pragma once
#include <string>
#include "calpontdmlpackage.h"
#include "bytestream.h"
@ -101,4 +100,3 @@ private:
#undef EXPORT
#endif //COMMANDDMLPACKAGE_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef DELETEDMLPACKAGE_H
#define DELETEDMLPACKAGE_H
#pragma once
#include <string>
#include "calpontdmlpackage.h"
#include "bytestream.h"
@ -103,4 +102,3 @@ private:
#undef EXPORT
#endif //DELETEDMLPACKAGE_H

View File

@ -34,8 +34,7 @@
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
#pragma once
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype
@ -176,7 +175,6 @@ typedef union YYSTYPE
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE dmllval;

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef DMLCOLUMN_H
#define DMLCOLUMN_H
#pragma once
#include <string>
#include <vector>
#include "dmlobject.h"
@ -167,5 +166,4 @@ typedef std::vector<DMLColumn*>ColumnList;
#undef EXPORT
#endif //DMLCOLUMN_H

View File

@ -23,8 +23,7 @@
/** @file */
#ifndef DMLOBJECT_H
#define DMLOBJECT_H
#pragma once
#include <string>
#include"bytestream.h"
@ -67,6 +66,5 @@ private:
};
}
#endif //DMLOBJECT_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef DMLPACKAGE_H
#define DMLPACKAGE_H
#pragma once
#include "dmlpkg.h"
@ -35,4 +34,3 @@ const std::string nullValue = "nvl";
//const size_t maxThreads = 100;
//const size_t queueSize = 200;
} // namespace dmlpackage
#endif //DMLPACKAGE_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef DMLPARSER_H
#define DMLPARSER_H
#pragma once
#include <stdexcept>
#include "dmlpkg.h"
@ -117,4 +116,3 @@ private:
};
}
#endif // DMLPARSER_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef DMLPKG_H
#define DMLPKG_H
#pragma once
#include <vector>
#include <string>
@ -1048,4 +1047,3 @@ public:
};
} // namespace dmlpackage
#endif // DMLPKG_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef DMLTABLE_H
#define DMLTABLE_H
#pragma once
#include <string>
#include <vector>
@ -125,5 +124,4 @@ private:
} // namespace dmlpackage
#endif //DMLTABLE_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef INSERTDMLPACKAGE_H
#define INSERTDMLPACKAGE_H
#pragma once
#include <string>
#include "calpontdmlpackage.h"
#include "bytestream.h"
@ -122,4 +121,3 @@ private:
#undef EXPORT
#endif //INSERTDMLPACKAGE_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef MYSQLDMLSTATEMENT_H
#define MYSQLDMLSTATEMENT_H
#pragma once
#include <string>
#include "vendordmlstatement.h"
@ -43,5 +42,4 @@ private:
};
}
#endif //MYSQLDMLSTATEMENT_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef ORACLEDMLSTATEMENT_H
#define ORACLEDMLSTATEMENT_H
#pragma once
#include <string>
#include "vendordmlstatement.h"
@ -44,5 +43,4 @@ private:
};
}
#endif //ORACLEDMLSTATEMENT_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef ROW_H
#define ROW_H
#pragma once
#include <string>
#include "dmlobject.h"
#include "bytestream.h"
@ -119,5 +118,4 @@ typedef std::vector<Row*>RowList;
#undef EXPORT
#endif //ROW_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef UPDATEDMLPACKAGE_H
#define UPDATEDMLPACKAGE_H
#pragma once
#include <string>
#include "calpontdmlpackage.h"
#include "bytestream.h"
@ -105,4 +104,3 @@ private:
#undef EXPORT
#endif //UPDATEDMLPACKAGE_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef VENDORDMLSTATEMENT_H
#define VENDORDMLSTATEMENT_H
#pragma once
#include <string>
#include <vector>
#include <map>
@ -250,4 +249,3 @@ private:
#undef EXPORT
#endif //VENDORDMLSTATEMENT_H

View File

@ -19,8 +19,7 @@
/** @file */
#ifndef AUTOINCREMENTDATA_H__
#define AUTOINCREMENTDATA_H__
#pragma once
#include <stdint.h>
@ -51,5 +50,4 @@ private:
boost::mutex fOIDnextvalLock;
};
#endif
// vim:ts=4 sw=4:

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef COMMANDPACKAGEPROCESSOR_H
#define COMMANDPACKAGEPROCESSOR_H
#pragma once
#include <string>
#include <vector>
#include <set>
@ -77,5 +76,4 @@ private:
#undef EXPORT
#endif //COMMANDPACKAGEPROCESSOR_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef DELETEPACKAGEPROCESSOR_H
#define DELETEPACKAGEPROCESSOR_H
#pragma once
#include <string>
#include <iostream>
#include <vector>
@ -90,4 +89,3 @@ private:
#undef EXPORT
#endif // DELETEPACKAGEPROCESSOR_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef DMLPACKAGEPROCESSOR_H
#define DMLPACKAGEPROCESSOR_H
#pragma once
#include <stdexcept>
#include <string>
#include <sstream>
@ -551,4 +550,3 @@ bool from_string(T& t,
#undef EXPORT
#endif //DMLPACKAGEPROCESSOR_H

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef DMLPACKAGEPROCESSORFACTORY_H
#define DMLPACKAGEPROCESSORFACTORY_H
#pragma once
#include <string>
#include "calpontdmlpackage.h"
#include "dmlpackageprocessor.h"
@ -62,5 +61,4 @@ private:
#undef EXPORT
#endif //DMLPACKAGEPROCESSORFACTORY_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef INSERTPACKAGEPROCESSOR_H
#define INSERTPACKAGEPROCESSOR_H
#pragma once
#include <string>
#include <vector>
#include <boost/any.hpp>
@ -67,5 +66,4 @@ private:
#undef EXPORT
#endif //INSERTPACKAGEPROCESSOR_H

View File

@ -19,8 +19,7 @@
/** @file */
#ifndef TABLELOCKDATA_H__
#define TABLELOCKDATA_H__
#pragma once
#include <stdint.h>
@ -63,6 +62,5 @@ private:
#undef EXPORT
#endif
// vim:ts=4 sw=4:

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef UPDATEPACKAGEPROCESSOR_H
#define UPDATEPACKAGEPROCESSOR_H
#pragma once
#include <string>
#include "dmlpackageprocessor.h"
#include "dataconvert.h"
@ -80,4 +79,3 @@ private:
#undef EXPORT
#endif //UPDATEPACKAGEPROCESSOR_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef DBCON_CALPONTSYSTEMCATALOG_H
#define DBCON_CALPONTSYSTEMCATALOG_H
#pragma once
namespace dbcon
{
@ -54,5 +53,4 @@ public:
} //namespace dbcon
#endif //DBCON_CALPONTSYSTEMCATALOG_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef AGGREGATECOLUMN_H
#define AGGREGATECOLUMN_H
#pragma once
#include <string>
#include "calpontselectexecutionplan.h"
@ -465,5 +464,4 @@ std::ostream& operator<<(std::ostream& os, const AggregateColumn& rhs);
void getAggCols(ParseTree* n, void* obj);
} //namespace execplan
#endif //AGGREGATECOLUMN_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef ARITHMETICCOLUMN_H
#define ARITHMETICCOLUMN_H
#pragma once
#include <string>
#include <iosfwd>
#include <stack>
@ -283,5 +282,4 @@ private:
std::ostream& operator<<(std::ostream& output, const ArithmeticColumn& rhs);
}
#endif //ARITHMETICCOLUMN_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef ARITHMETICOPERATOR_H
#define ARITHMETICOPERATOR_H
#pragma once
#include <string>
#include <iosfwd>
#include <cmath>
@ -457,5 +456,4 @@ inline void ArithmeticOperator::execute(IDB_Decimal& result, IDB_Decimal op1, ID
std::ostream& operator<<(std::ostream& os, const ArithmeticOperator& rhs);
}
#endif

View File

@ -16,8 +16,7 @@
MA 02110-1301, USA. */
// $Id: blocksize.h 9210 2013-01-21 14:10:42Z rdempsey $
#ifndef EXECPLAN_BLOCKSIZE_H_
#define EXECPLAN_BLOCKSIZE_H_
#pragma once
#include <stdint.h>
@ -28,5 +27,4 @@ const uint64_t BLOCK_SIZE = 8192;
// its value is the same as block_size, but different unit
const uint64_t LOGICAL_BLOCK_RIDS = BLOCK_SIZE;
#endif

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef CALPONTEXECUTIONPLAN_H
#define CALPONTEXECUTIONPLAN_H
#pragma once
#include <string>
#include <boost/shared_ptr.hpp>
@ -162,5 +161,4 @@ private:
typedef boost::shared_ptr<CalpontExecutionPlan> SCEP;
}
#endif //CALPONTEXECUTIONPLAN_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef CALPONTEXECUTIONPLANFACTORY_H
#define CALPONTEXECUTIONPLANFACTORY_H
#pragma once
#include "calpontexecutionplan.h"
#include "vendorexecutionplan.h"
@ -40,5 +39,4 @@ public:
};
} //namespace execplan
#endif //CALPONTEXECUTIONPLANFACTORY_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef CALPONTSELECTEXECUTIONPLAN_H
#define CALPONTSELECTEXECUTIONPLAN_H
#pragma once
#include <vector>
#include <map>
#include <iosfwd>
@ -942,6 +941,5 @@ inline std::ostream& operator<<(std::ostream& os, const CalpontSelectExecutionPl
}
}
#endif //CALPONTSELECTEXECUTIONPLAN_H
// vim:ts=4 sw=4:

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef EXECPLAN_CALPONTSYSTEMCATALOG_H
#define EXECPLAN_CALPONTSYSTEMCATALOG_H
#pragma once
#include <unistd.h>
#include <string>
@ -1227,6 +1226,5 @@ bool ctListSort(const CalpontSystemCatalog::ColType& a, const CalpontSystemCatal
} //namespace execplan
#endif //EXECPLAN_CALPONTSYSTEMCATALOG_H
// vim:ts=4 sw=4:

View File

@ -23,8 +23,7 @@
/** @file */
#ifndef CLIENTROTATOR_H
#define CLIENTROTATOR_H
#pragma once
#include <iostream>
#include <vector>
@ -170,6 +169,5 @@ private:
} // namespace
#endif
// vim:ts=4 sw=4:

View File

@ -21,8 +21,7 @@
*****************************************************************************/
/** @file */
#ifndef EXECPLAN_COLUMNRESULT_H_
#define EXECPLAN_COLUMNRESULT_H_
#pragma once
#include <sys/types.h>
#include <vector>
@ -114,4 +113,3 @@ private:
}
#endif

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef CONSTANTCOLUMN_H
#define CONSTANTCOLUMN_H
#pragma once
#include <string>
#include "returnedcolumn.h"
@ -458,5 +457,4 @@ public:
std::ostream& operator<<(std::ostream& output, const ConstantColumn& rhs);
}
#endif //CONSTANTCOLUMN_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef CONSTANTFILTER_H
#define CONSTANTFILTER_H
#pragma once
#include <string>
#include <iosfwd>
#include <vector>
@ -249,5 +248,4 @@ inline bool ConstantFilter::getBoolVal(rowgroup::Row& row, bool& isNull)
std::ostream& operator<<(std::ostream& output, const ConstantFilter& rhs);
}
#endif //CONSTANTFILTER_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef EXISTSFILTER_H
#define EXISTSFILTER_H
#pragma once
#include <string>
#include "filter.h"
@ -146,5 +145,4 @@ private:
std::ostream& operator<<(std::ostream& output, const ExistsFilter& rhs);
}
#endif //EXISTSFILTER_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef EXP_TEMPLATES
#define EXP_TEMPLATES
#pragma once
#include <iostream>
#include <fstream>
@ -672,5 +671,4 @@ private:
#undef EXP_TEMPLATE
}
#endif

View File

@ -21,8 +21,7 @@
*
***********************************************************************/
/** @file */
#ifndef EXPRESSION_PARSER
#define EXPRESSION_PARSER
#pragma once
#include <iostream>
#include <cassert>
@ -158,4 +157,3 @@ bool operator!=(const ParseTree& t1,
} // namespace execplan
#endif

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef EXECPLAN_FILTER_H
#define EXECPLAN_FILTER_H
#pragma once
#include <string>
#include <iosfwd>
@ -165,5 +164,4 @@ private:
std::ostream& operator<<(std::ostream& os, const Filter& rhs);
}
#endif //EXECPLAN_FILTER_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef FUNCTIONCOLUMN_H
#define FUNCTIONCOLUMN_H
#pragma once
#include <string>
#include <iosfwd>
#include <vector>
@ -326,5 +325,4 @@ private:
std::ostream& operator<<(std::ostream& output, const FunctionColumn& rhs);
}
#endif //FUNCTIONCOLUMN_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef GROUPCONCATCOLUMN_H
#define GROUPCONCATCOLUMN_H
#pragma once
#include <string>
#include "calpontselectexecutionplan.h"
@ -149,5 +148,4 @@ private:
std::ostream& operator<<(std::ostream& os, const GroupConcatColumn& rhs);
}
#endif //GROUPCONCATCOLUMN_H

View File

@ -23,8 +23,7 @@
/** @file */
#ifndef INTERVALCOLUMN_H
#define INTERVALCOLUMN_H
#pragma once
#include <string>
#include <iosfwd>
#include <vector>
@ -126,4 +125,3 @@ private:
std::ostream& operator<<(std::ostream& output, const IntervalColumn& rhs);
}
#endif //INTERVALCOLUMN_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef LOGICOPERATOR_H
#define LOGICOPERATOR_H
#pragma once
#include <string>
#include <iosfwd>
#include <boost/shared_ptr.hpp>
@ -186,5 +185,4 @@ private:
std::ostream& operator<<(std::ostream& os, const LogicOperator& rhs);
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef MCSANALYZETABLEXEXCUTIONPLAN_H
#define MCSANALYZETABLEXEXCUTIONPLAN_H
#pragma once
#include <vector>
#include <map>
#include <iosfwd>
@ -167,4 +166,3 @@ class MCSAnalyzeTableExecutionPlan : public CalpontExecutionPlan
uint32_t fLocalQuery;
};
} // namespace execplan
#endif

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef MYSQLEXECUTIONPLAN_H
#define MYSQLEXECUTIONPLAN_H
#pragma once
#include <string>
#include "vendorexecutionplan.h"
@ -97,5 +96,4 @@ private:
*/
};
}
#endif //MYSQLEXECUTIONPLAN_H

View File

@ -21,8 +21,7 @@
*****************************************************************************/
/** @file */
#ifndef NJLCOLUMNRESULT_H_
#define NJLCOLUMNRESULT_H_
#pragma once
#include "columnresult.h"
@ -33,4 +32,3 @@ typedef ColumnResult NJLColumnResult;
}
#endif

View File

@ -24,8 +24,7 @@
* class ObjectIDManager interface.
*/
#ifndef OBJECTIDMANAGER_H_
#define OBJECTIDMANAGER_H_
#pragma once
#include <string>
#include <stdint.h>
@ -195,4 +194,3 @@ private:
} // namespace
#endif

View File

@ -24,8 +24,7 @@
* class ObjectReader interface
*/
#ifndef EXECPLAN_OBJECTREADER_H
#define EXECPLAN_OBJECTREADER_H
#pragma once
#include <exception>
#include <string>
@ -170,5 +169,4 @@ public:
};
}
#endif // EXECPLAN_OBJECTREADER_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef OPERATOR_H
#define OPERATOR_H
#pragma once
#include <string>
#include <iosfwd>
#include <boost/shared_ptr.hpp>
@ -245,5 +244,4 @@ std::ostream& operator<<(std::ostream& os, const Operator& rhs);
}
#endif //OPERATOR_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef ORACLEEXECUTIONPLAN_H
#define ORACLEEXECUTIONPLAN_H
#pragma once
#include <string>
#include "vendorexecutionplan.h"
@ -97,5 +96,4 @@ private:
*/
};
}
#endif //ORACLEEXECUTIONPLAN_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef OUTERJOINONFILTER_H
#define OUTERJOINONFILTER_H
#pragma once
#include <string>
#include "filter.h"
@ -125,5 +124,4 @@ private:
std::ostream& operator<<(std::ostream& output, const OuterJoinOnFilter& rhs);
}
#endif //OUTERJOINONFILTER_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef PARSETREE_H
#define PARSETREE_H
#pragma once
#include <iostream>
#include <fstream>
@ -584,4 +583,3 @@ typedef boost::shared_ptr<ParseTree> SPTP;
} // namespace
#endif

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef PREDICATEOPERATOR_H
#define PREDICATEOPERATOR_H
#pragma once
#include <string>
#include <sstream>
@ -192,5 +191,4 @@ inline bool PredicateOperator::numericCompare(const result_t op1, const result_t
std::ostream& operator<<(std::ostream& os, const PredicateOperator& rhs);
}
#endif //PREDICATEOPERATOR_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef PSEUDOCOLUMN_H
#define PSEUDOCOLUMN_H
#pragma once
#include <string>
#include "simplecolumn.h"
@ -165,5 +164,4 @@ private:
} // namespace execplan
#endif //PSEUDOCOLUMN_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef RANGE_H
#define RANGE_H
#pragma once
#include <string>
/**
@ -96,5 +95,4 @@ private:
*/
};
}
#endif //RANGE_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef RETURNEDCOLUMN_H
#define RETURNEDCOLUMN_H
#pragma once
#include <string>
#include <iosfwd>
#include <vector>
@ -382,5 +381,4 @@ protected:
std::ostream& operator<<(std::ostream& os, const ReturnedColumn& rhs);
}
#endif //RETURNEDCOLUMN_H

View File

@ -21,8 +21,7 @@
***********************************************************************/
/** @file */
#ifndef ROWCOLUMN_H
#define ROWCOLUMN_H
#pragma once
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
@ -182,5 +181,4 @@ public:
std::ostream& operator<<(std::ostream& output, const RowColumn& rhs);
}
#endif //SIMPLECOLUMN_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef SELECTFILTER_H
#define SELECTFILTER_H
#pragma once
#include <string>
#include "filter.h"
@ -187,5 +186,4 @@ private:
std::ostream& operator<<(std::ostream& output, const SelectFilter& rhs);
}
#endif //SELECTFILTER_H

View File

@ -24,8 +24,7 @@
* class SessionManager interface
*/
#ifndef _SESSIONMANAGER_H
#define _SESSIONMANAGER_H
#pragma once
#include "calpontsystemcatalog.h"
#include "brm.h"
@ -216,6 +215,5 @@ private:
} //namespace
#endif
// vim:ts=4 sw=4:

View File

@ -24,8 +24,7 @@
* class SessionMonitor interface
*/
#ifndef _SESSIONMONITOR_H
#define _SESSIONMONITOR_H
#pragma once
#include <vector>
#include <exception>
@ -341,4 +340,3 @@ private:
} //namespace
#endif

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef SIMPLECOLUMN_H
#define SIMPLECOLUMN_H
#pragma once
#include <string>
#include <boost/shared_ptr.hpp>
@ -394,5 +393,4 @@ void getSimpleCols(ParseTree* n, void* obj);
ParseTree* replaceRefCol(ParseTree*& n, CalpontSelectExecutionPlan::ReturnedColumnList&);
}
#endif //SIMPLECOLUMN_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef SIMPLECOLUMNDECIMAL_H
#define SIMPLECOLUMNDECIMAL_H
#pragma once
#include <iostream>
#include <string>
#include <cmath>
@ -268,5 +267,4 @@ void SimpleColumn_Decimal<len>::unserialize(messageqcpp::ByteStream& b)
}
}
#endif //SIMPLECOLUMN_INT_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef SIMPLECOLUMNINT_H
#define SIMPLECOLUMNINT_H
#pragma once
#include <iostream>
#include <string>
@ -274,5 +273,4 @@ void SimpleColumn_INT<len>::unserialize(messageqcpp::ByteStream& b)
}
}
#endif //SIMPLECOLUMN_INT_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef SIMPLECOLUMNUINT_H
#define SIMPLECOLUMNUINT_H
#pragma once
#include <iostream>
#include <string>
@ -282,5 +281,4 @@ void SimpleColumn_UINT<len>::unserialize(messageqcpp::ByteStream& b)
}
}
#endif //SIMPLECOLUMN_INT_H

View File

@ -23,8 +23,7 @@
***********************************************************************/
/** @file */
#ifndef SIMPLEFILTER_H
#define SIMPLEFILTER_H
#pragma once
#include <string>
#include <iosfwd>
#include <boost/shared_ptr.hpp>
@ -285,5 +284,4 @@ typedef boost::shared_ptr<SimpleFilter> SSFP;
std::ostream& operator<<(std::ostream& output, const SimpleFilter& rhs);
}
#endif //SIMPLEFILTER_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef SIMPLESCALARFILTER_H
#define SIMPLESCALARFILTER_H
#pragma once
#include <string>
#include <vector>
#include <ostream>
@ -169,5 +168,4 @@ private:
std::ostream& operator<<(std::ostream& output, const SimpleScalarFilter& rhs);
}
#endif //SELECTFILTER_H

View File

@ -21,8 +21,7 @@
/** @file */
#ifndef CALPONT_TREENODE_H
#define CALPONT_TREENODE_H
#pragma once
#include <string>
#include <iostream>
@ -1175,4 +1174,3 @@ std::ostream& operator<<(std::ostream& output, const TreeNode& rhs);
}
#endif

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef EXECPLAN_TREENODEIMPL_H
#define EXECPLAN_TREENODEIMPL_H
#pragma once
#include <string>
#include <iosfwd>
@ -133,5 +132,4 @@ private:
std::ostream& operator<<(std::ostream& os, const TreeNodeImpl& rhs);
}
#endif //EXECPLAN_TREENODEIMPL_H

View File

@ -17,8 +17,7 @@
MA 02110-1301, USA.
*/
#ifndef UDAFCOLUMN_H
#define UDAFCOLUMN_H
#pragma once
#include <string>
#include "calpontselectexecutionplan.h"
@ -132,5 +131,4 @@ private:
std::ostream& operator<<(std::ostream& os, const UDAFColumn& rhs);
}
#endif //UDAFCOLUMN_H

View File

@ -22,8 +22,7 @@
***********************************************************************/
/** @file */
#ifndef EXECPLAN_VENDOREXECUTIONPLAN_H
#define EXECPLAN_VENDOREXECUTIONPLAN_H
#pragma once
/**
* Namespace
@ -44,5 +43,4 @@ private:
}
#endif //VENDOREXECUTIONPLAN_H

View File

@ -18,8 +18,7 @@
MA 02110-1301, USA.
*/
#ifndef WINDOW_FUNCTION_FRAME_H
#define WINDOW_FUNCTION_FRAME_H
#pragma once
#include <string>
#include <iosfwd>
#include <vector>
@ -88,4 +87,3 @@ struct WF_OrderBy
};
}
#endif

View File

@ -24,8 +24,7 @@
/** @file */
#ifndef WINDOW_FUNCTION_COLUMN_H
#define WINDOW_FUNCTION_COLUMN_H
#pragma once
#include <string>
#include <iosfwd>
#include <vector>
@ -262,4 +261,3 @@ std::ostream& operator<<(std::ostream& output, const WindowFunctionColumn& rhs);
void getWindowFunctionCols(ParseTree* n, void* obj);
}
#endif //WINDOW_FUNCTION_COLUMN_H

View File

@ -33,8 +33,7 @@
#include <time.h>
#ifndef _BANDEDDL_HPP_
#define _BANDEDDL_HPP_
#pragma once
namespace joblist
{
@ -393,5 +392,4 @@ uint64_t BandedDL<element_t>::totalSize()
} // namespace
#endif

Some files were not shown because too many files have changed in this diff Show More