Less dependencies in include files
This commit is contained in:
parent
166056f744
commit
8a24be6e74
@ -22,7 +22,6 @@
|
||||
#ifndef _m_string_h
|
||||
#define _m_string_h
|
||||
|
||||
#include "my_global.h" /* HAVE_* */
|
||||
#include "my_decimal_limits.h"
|
||||
|
||||
#ifndef __USE_GNU
|
||||
|
@ -25,9 +25,6 @@
|
||||
#include "mariadb.h"
|
||||
#include "sql_priv.h"
|
||||
#include "filesort.h"
|
||||
#ifdef HAVE_STDDEF_H
|
||||
#include <stddef.h> /* for macro offsetof */
|
||||
#endif
|
||||
#include <m_ctype.h>
|
||||
#include "sql_sort.h"
|
||||
#include "probes_mysql.h"
|
||||
|
@ -128,8 +128,6 @@ enum precedence {
|
||||
HIGHEST_PRECEDENCE
|
||||
};
|
||||
|
||||
typedef Bounds_checked_array<Item*> Ref_ptr_array;
|
||||
|
||||
bool mark_unsupported_function(const char *where, void *store, uint result);
|
||||
|
||||
/* convenience helper for mark_unsupported_function() above */
|
||||
|
@ -258,4 +258,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
typedef Bounds_checked_array<Item*> Ref_ptr_array;
|
||||
|
||||
#endif /* SQL_ARRAY_INCLUDED */
|
||||
|
@ -2052,11 +2052,6 @@ typedef struct
|
||||
|
||||
extern "C" void my_message_sql(uint error, const char *str, myf MyFlags);
|
||||
|
||||
class THD;
|
||||
#ifndef DBUG_OFF
|
||||
void dbug_serve_apcs(THD *thd, int n_calls);
|
||||
#endif
|
||||
|
||||
/**
|
||||
@class THD
|
||||
For each client connection we create a separate thread with THD serving as
|
||||
@ -6292,6 +6287,10 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#ifndef DBUG_OFF
|
||||
void dbug_serve_apcs(THD *thd, int n_calls);
|
||||
#endif
|
||||
|
||||
#endif /* MYSQL_SERVER */
|
||||
|
||||
#endif /* SQL_CLASS_INCLUDED */
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "sql_trigger.h"
|
||||
#include "sp.h" // enum stored_procedure_type
|
||||
#include "sql_tvc.h"
|
||||
#include "item.h"
|
||||
|
||||
/* YACC and LEX Definitions */
|
||||
|
||||
|
@ -16,14 +16,14 @@
|
||||
#ifndef SQL_TVC_INCLUDED
|
||||
#define SQL_TVC_INCLUDED
|
||||
#include "sql_type.h"
|
||||
#include "item.h"
|
||||
|
||||
typedef List<Item> List_item;
|
||||
class select_result;
|
||||
|
||||
class Explain_select;
|
||||
class Explain_query;
|
||||
class Item_func_in;
|
||||
class st_select_lex_unit;
|
||||
typedef class st_select_lex SELECT_LEX;
|
||||
|
||||
/**
|
||||
@class table_value_constr
|
||||
|
@ -73,7 +73,6 @@ struct Schema_specification_st;
|
||||
struct TABLE;
|
||||
struct SORT_FIELD_ATTR;
|
||||
|
||||
|
||||
/*
|
||||
Flags for collation aggregation modes, used in TDCollation::agg():
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
#ifndef SQL_WINDOW_INCLUDED
|
||||
#define SQL_WINDOW_INCLUDED
|
||||
|
||||
#include "item.h"
|
||||
#include "filesort.h"
|
||||
#include "records.h"
|
||||
|
||||
|
@ -43,13 +43,14 @@ struct tokutxn;
|
||||
#if defined(ENABLED_DEBUG_SYNC)
|
||||
|
||||
/*
|
||||
the below macros are defined in my_global.h, which is included in m_string.h,
|
||||
the below macros are defined in my_global.h
|
||||
the same macros are defined in TokuSetupCompiler.cmake as compiler options,
|
||||
undefine them here to avoid build errors
|
||||
*/
|
||||
#undef __STDC_FORMAT_MACROS
|
||||
#undef __STDC_LIMIT_MACROS
|
||||
|
||||
#include "my_global.h"
|
||||
#include "m_string.h"
|
||||
#include "debug_sync.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user