mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -13,10 +13,24 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#include "sql_priv.h" // SHOW_MY_BOOL
|
||||
#include "unireg.h"
|
||||
#include "my_global.h" // REQUIRED by m_string.h
|
||||
#include "sql_class.h" // set_var.h: THD
|
||||
#include "sys_vars_shared.h"
|
||||
#include "sql_locale.h"
|
||||
#include "sql_plugin.h"
|
||||
#include "sql_parse.h" // check_table_access
|
||||
#include "sql_base.h" // close_thread_tables
|
||||
#include "key.h" // key_copy
|
||||
#include "sql_show.h" // remove_status_vars, add_status_vars
|
||||
#include "strfunc.h" // find_set
|
||||
#include "sql_acl.h" // *_ACL
|
||||
#include "records.h" // init_read_record, end_read_record
|
||||
#include <my_pthread.h>
|
||||
#include <my_getopt.h>
|
||||
#include <mysql/plugin_audit.h>
|
||||
#include "lock.h" // MYSQL_LOCK_IGNORE_TIMEOUT
|
||||
#define REPORT_TO_LOG 1
|
||||
#define REPORT_TO_USER 2
|
||||
|
||||
|
Reference in New Issue
Block a user