mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 06:35:33 +02:00
post-merge fixes, including slave-skip-errors backport
fixed too quick timeout in mysql-test-run which caused a race with the new server getting started before the old one completely finished shutdown. This should fix the pid warning we've been getting as well as inconsistent results when running tests with the manager libmysqld/lib_sql.cc: post-merge fix mysql-test/mysql-test-run.sh: fixed start/stop timeout and cleanup of log directory mysql-test/r/rpl000014.result: post-merge fix mysql-test/r/rpl000015.result: post-merge fix mysql-test/r/rpl000016.result: post-merge fix mysql-test/r/rpl_log.result: post-merge fix sql/log_event.cc: post-merge fix sql/slave.cc: post-merge fix sql/slave.h: post-merge fix sql/sql_class.h: post-merge fix tools/mysqlmanager.c: added debug message
This commit is contained in:
parent
1e0f2b7a42
commit
11f04648f2
11 changed files with 71 additions and 47 deletions
|
|
@ -402,9 +402,6 @@ int STDCALL mysql_server_init(int argc, char **argv, char **groups)
|
|||
(void) pthread_mutex_init(&LOCK_bytes_sent,MY_MUTEX_INIT_FAST);
|
||||
(void) pthread_mutex_init(&LOCK_bytes_received,MY_MUTEX_INIT_FAST);
|
||||
(void) pthread_mutex_init(&LOCK_timezone,MY_MUTEX_INIT_FAST);
|
||||
(void) pthread_mutex_init(&LOCK_slave_io, MY_MUTEX_INIT_FAST);
|
||||
(void) pthread_mutex_init(&LOCK_slave_sql, MY_MUTEX_INIT_FAST);
|
||||
(void) pthread_mutex_init(&LOCK_server_id, MY_MUTEX_INIT_FAST);
|
||||
(void) pthread_mutex_init(&LOCK_user_conn, MY_MUTEX_INIT_FAST);
|
||||
(void) pthread_cond_init(&COND_thread_count,NULL);
|
||||
(void) pthread_cond_init(&COND_refresh,NULL);
|
||||
|
|
@ -412,11 +409,6 @@ int STDCALL mysql_server_init(int argc, char **argv, char **groups)
|
|||
(void) pthread_cond_init(&COND_flush_thread_cache,NULL);
|
||||
(void) pthread_cond_init(&COND_manager,NULL);
|
||||
(void) pthread_cond_init(&COND_binlog_update, NULL);
|
||||
(void) pthread_cond_init(&COND_slave_log_update, NULL);
|
||||
(void) pthread_cond_init(&COND_slave_sql_stop, NULL);
|
||||
(void) pthread_cond_init(&COND_slave_sql_start, NULL);
|
||||
(void) pthread_cond_init(&COND_slave_sql_stop, NULL);
|
||||
(void) pthread_cond_init(&COND_slave_sql_start, NULL);
|
||||
|
||||
if (set_default_charset_by_name(default_charset, MYF(MY_WME)))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue