mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
renamedb.test, renamedb.result:
new file Many files: WL#757 RENAME DATABASE sql/mysql_priv.h: WL#757 RENAME DATABASE sql/mysqld.cc: WL#757 RENAME DATABASE sql/sql_db.cc: WL#757 RENAME DATABASE sql/sql_lex.h: WL#757 RENAME DATABASE sql/sql_parse.cc: WL#757 RENAME DATABASE sql/sql_rename.cc: WL#757 RENAME DATABASE sql/sql_table.cc: WL#757 RENAME DATABASE sql/sql_yacc.yy: WL#757 RENAME DATABASE
This commit is contained in:
parent
3a2b70f841
commit
bc5dc9e085
10 changed files with 605 additions and 24 deletions
|
|
@ -1158,7 +1158,7 @@ void clean_up(bool print_message)
|
|||
bitmap_free(&slave_error_mask);
|
||||
#endif
|
||||
my_tz_free();
|
||||
my_dbopt_free();
|
||||
my_database_names_free();
|
||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||
acl_free(1);
|
||||
grant_free();
|
||||
|
|
@ -1274,6 +1274,7 @@ static void wait_for_signal_thread_to_end()
|
|||
static void clean_up_mutexes()
|
||||
{
|
||||
(void) pthread_mutex_destroy(&LOCK_mysql_create_db);
|
||||
(void) pthread_mutex_destroy(&LOCK_lock_db);
|
||||
(void) pthread_mutex_destroy(&LOCK_Acl);
|
||||
(void) rwlock_destroy(&LOCK_grant);
|
||||
(void) pthread_mutex_destroy(&LOCK_open);
|
||||
|
|
@ -2829,7 +2830,7 @@ static int init_common_variables(const char *conf_file_name, int argc,
|
|||
|
||||
if (use_temp_pool && bitmap_init(&temp_pool,0,1024,1))
|
||||
return 1;
|
||||
if (my_dbopt_init())
|
||||
if (my_database_names_init())
|
||||
return 1;
|
||||
|
||||
/*
|
||||
|
|
@ -2883,6 +2884,7 @@ You should consider changing lower_case_table_names to 1 or 2",
|
|||
static int init_thread_environment()
|
||||
{
|
||||
(void) pthread_mutex_init(&LOCK_mysql_create_db,MY_MUTEX_INIT_SLOW);
|
||||
(void) pthread_mutex_init(&LOCK_lock_db,MY_MUTEX_INIT_SLOW);
|
||||
(void) pthread_mutex_init(&LOCK_Acl,MY_MUTEX_INIT_SLOW);
|
||||
(void) pthread_mutex_init(&LOCK_open, NULL);
|
||||
(void) pthread_mutex_init(&LOCK_thread_count,MY_MUTEX_INIT_FAST);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue