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:
@ -16,8 +16,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 HA_MCS_H__
|
||||
#define HA_MCS_H__
|
||||
#pragma once
|
||||
|
||||
#include <my_config.h>
|
||||
#include "idb_mysql.h"
|
||||
@ -352,4 +351,3 @@ public:
|
||||
friend my_bool cache_start_trans(void *param);
|
||||
};
|
||||
|
||||
#endif //HA_MCS_H__
|
||||
|
@ -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 HA_MCS_DATATYPE_H_INCLUDED
|
||||
#define HA_MCS_DATATYPE_H_INCLUDED
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
Interface classes for MariaDB data types (e.g. Field) for TypeHandler.
|
||||
@ -856,6 +855,5 @@ public:
|
||||
|
||||
} // end of namespace datatypes
|
||||
|
||||
#endif
|
||||
|
||||
// vim:ts=2 sw=2:
|
||||
|
@ -16,8 +16,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef HA_MCS_IMPL_H__
|
||||
#define HA_MCS_IMPL_H__
|
||||
#pragma once
|
||||
|
||||
#include "idb_mysql.h"
|
||||
|
||||
@ -74,5 +73,4 @@ extern std::string ha_mcs_impl_viewtablelock( cal_impl_if::cal_connection_info&
|
||||
extern std::string ha_mcs_impl_cleartablelock( cal_impl_if::cal_connection_info& ci, uint64_t tableLockID);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -17,8 +17,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef HA_MCS_IMPL_IF_H__
|
||||
#define HA_MCS_IMPL_IF_H__
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
#ifdef _MSC_VER
|
||||
@ -458,5 +457,4 @@ void debug_walk(const Item* item, void* arg);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -16,8 +16,7 @@
|
||||
* MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef HA_MCS_LOGGING_H__
|
||||
#define HA_MCS_LOGGING_H__
|
||||
#pragma once
|
||||
|
||||
#include "messagelog.h"
|
||||
|
||||
@ -50,4 +49,3 @@ inline void log_this(THD *thd, const char *message,
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef HA_MCS_REWRITES
|
||||
#define HA_MCS_REWRITES
|
||||
#pragma once
|
||||
|
||||
#include "idb_mysql.h"
|
||||
|
||||
@ -25,4 +24,3 @@ void first_cond_optimization_flag_toggle(SELECT_LEX *select_lex, void (*func)(SE
|
||||
void first_cond_optimization_flag_unset(SELECT_LEX*);
|
||||
void first_cond_optimization_flag_set(SELECT_LEX*);
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
|
||||
|
||||
|
||||
#ifndef HA_MCS_PUSH
|
||||
#define HA_MCS_PUSH
|
||||
#pragma once
|
||||
|
||||
#define PREFER_MY_CONFIG_H
|
||||
#include "idb_mysql.h"
|
||||
@ -156,4 +155,3 @@ public:
|
||||
bool prepare() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -16,8 +16,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef MCS_SYSVARS_H__
|
||||
#define MCS_SYSVARS_H__
|
||||
#pragma once
|
||||
|
||||
#include <my_config.h>
|
||||
#include "idb_mysql.h"
|
||||
@ -142,4 +141,3 @@ void set_cache_use_import(THD* thd, bool value);
|
||||
ulonglong get_cache_flush_threshold(THD* thd);
|
||||
void set_cache_flush_threshold(THD* thd, ulonglong value);
|
||||
|
||||
#endif
|
||||
|
@ -24,8 +24,7 @@
|
||||
/** @file */
|
||||
/** class subquery series interface */
|
||||
|
||||
#ifndef HA_SUBQUERY
|
||||
#define HA_SUBQUERY
|
||||
#pragma once
|
||||
|
||||
//#undef LOG_INFO
|
||||
#include <my_config.h>
|
||||
@ -226,4 +225,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef HA_TZINFO
|
||||
#define HA_TZINFO
|
||||
#pragma once
|
||||
|
||||
//#undef LOG_INFO
|
||||
#include <my_config.h>
|
||||
@ -31,4 +30,3 @@ TIME_ZONE_INFO* my_tzinfo_find(THD *thd, const String *name);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -23,8 +23,7 @@
|
||||
/** @file */
|
||||
/** class View interface */
|
||||
|
||||
#ifndef HA_VIEW
|
||||
#define HA_VIEW
|
||||
#pragma once
|
||||
|
||||
//#undef LOG_INFO
|
||||
#include "ha_mcs_impl_if.h"
|
||||
@ -63,4 +62,3 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -18,8 +18,7 @@
|
||||
// global namespace
|
||||
//
|
||||
// Don't include ANY mysql headers anywhere except here!
|
||||
#ifndef IDB_MYSQL_H__
|
||||
#define IDB_MYSQL_H__
|
||||
#pragma once
|
||||
|
||||
#ifdef TEST_MCSCONFIG_H
|
||||
#error mcsconfig.h was included before idb_mysql.h
|
||||
@ -118,5 +117,4 @@ inline char* idb_mysql_query_str(THD* thd)
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
// vim:ts=4 sw=4:
|
||||
|
@ -21,8 +21,7 @@
|
||||
***********************************************************************/
|
||||
/** @file */
|
||||
|
||||
#ifndef SM_H__
|
||||
#define SM_H__
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <set>
|
||||
@ -288,5 +287,4 @@ extern status_t tpl_close(cpsm_tplh_t*, cpsm_conhdl_t**, querystats::QueryStats&
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
|
||||
#ifndef VERSIONNUMBER_H_
|
||||
#define VERSIONNUMBER_H_
|
||||
#pragma once
|
||||
#include <string>
|
||||
const std::string idb_version("1.0.2");
|
||||
const std::string idb_release("1");
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user