mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -25,7 +25,17 @@
|
||||
#pragma implementation // gcc: Class implementation
|
||||
#endif
|
||||
|
||||
#include "mysql_priv.h"
|
||||
#include "sql_priv.h"
|
||||
#include "unireg.h" // REQUIRED: for other includes
|
||||
#include "sql_class.h"
|
||||
#include "lock.h" // unlock_global_read_lock, mysql_unlock_tables
|
||||
#include "sql_cache.h" // query_cache_abort
|
||||
#include "sql_base.h" // close_thread_tables
|
||||
#include "sql_time.h" // date_time_format_copy
|
||||
#include "sql_acl.h" // NO_ACCESS,
|
||||
// acl_getroot_no_password
|
||||
#include "sql_base.h" // close_temporary_tables
|
||||
#include "sql_handler.h" // mysql_ha_cleanup
|
||||
#include "rpl_rli.h"
|
||||
#include "rpl_filter.h"
|
||||
#include "rpl_record.h"
|
||||
@ -46,6 +56,7 @@
|
||||
#include "sp_cache.h"
|
||||
#include "transaction.h"
|
||||
#include "debug_sync.h"
|
||||
#include "sql_parse.h" // is_update_query
|
||||
|
||||
/*
|
||||
The following is used to initialise Table_ident with a internal
|
||||
|
Reference in New Issue
Block a user