mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
14
sql/table.cc
14
sql/table.cc
@ -16,8 +16,20 @@
|
||||
|
||||
/* Some general useful functions */
|
||||
|
||||
#include "mysql_priv.h"
|
||||
#include "sql_priv.h"
|
||||
#include "unireg.h" // REQUIRED: for other includes
|
||||
#include "table.h"
|
||||
#include "frm_crypt.h" // get_crypt_for_frm
|
||||
#include "key.h" // find_ref_key
|
||||
#include "sql_table.h" // build_table_filename,
|
||||
// primary_key_name
|
||||
#include "sql_trigger.h"
|
||||
#include "sql_parse.h" // free_items
|
||||
#include "strfunc.h" // unhex_type2
|
||||
#include "sql_partition.h" // mysql_unpack_partition,
|
||||
// fix_partition_func, partition_info
|
||||
#include "sql_acl.h" // *_ACL, acl_getroot_no_password
|
||||
#include "sql_base.h" // release_table_share
|
||||
#include <m_ctype.h>
|
||||
#include "my_md5.h"
|
||||
|
||||
|
Reference in New Issue
Block a user