mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
WL#5030: Split and remove mysql_priv.h
This patch: - Moves all definitions from the mysql_priv.h file into header files for the component where the variable is defined - Creates header files if the component lacks one - Eliminates all include directives from mysql_priv.h - Eliminates all circular include cycles - Rename time.cc to sql_time.cc - Rename mysql_priv.h to sql_priv.h
This commit is contained in:
11
sql/field.cc
11
sql/field.cc
@@ -25,10 +25,19 @@
|
||||
#pragma implementation // gcc: Class implementation
|
||||
#endif
|
||||
|
||||
#include "mysql_priv.h"
|
||||
#include "sql_priv.h"
|
||||
#include "sql_select.h"
|
||||
#include "rpl_rli.h" // Pull in Relay_log_info
|
||||
#include "slave.h" // Pull in rpl_master_has_bug()
|
||||
#include "strfunc.h" // find_type2, find_set
|
||||
#include "sql_time.h" // str_to_datetime_with_warn,
|
||||
// str_to_time_with_warn,
|
||||
// TIME_to_timestamp,
|
||||
// make_time, make_date,
|
||||
// make_truncated_value_warning
|
||||
#include "tztime.h" // struct Time_zone
|
||||
#include "filesort.h" // change_double_for_sort
|
||||
#include "log_event.h" // class Table_map_log_event
|
||||
#include <m_ctype.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user