28 changed files with 283 additions and 86 deletions
-
4BUILD/SETUP.sh
-
5cmake/configure.pl
-
1cmake/os/WindowsCache.cmake
-
6include/violite.h
-
2libmysql/errmsg.c
-
6mysql-test/lib/mtr_cases.pm
-
35mysql-test/lib/mtr_misc.pl
-
17mysql-test/mysql-test-run.pl
-
6mysql-test/r/func_math.result
-
14mysql-test/r/openssl_1.result
-
1mysql-test/suite/binlog/r/binlog_reset_master.result
-
26mysql-test/suite/binlog/t/binlog_reset_master.test
-
18mysql-test/suite/innodb/r/innodb_mysql.result
-
24mysql-test/suite/innodb/t/innodb_mysql.test
-
1mysql-test/suite/rpl/t/rpl_typeconv-master.opt
-
6mysql-test/t/func_math.test
-
35sql-common/client.c
-
3sql/item_func.cc
-
13sql/log.cc
-
6sql/mysqld.cc
-
4sql/sql_acl.cc
-
83sql/sql_parse.cc
-
9vio/test-ssl.c
-
8vio/test-sslclient.c
-
3vio/test-sslserver.c
-
17vio/viossl.c
-
7vio/viosslfactories.c
-
9vio/viotest-ssl.c
@ -0,0 +1 @@ |
|||
RESET MASTER; |
|||
@ -0,0 +1,26 @@ |
|||
# ==== Purpose ==== |
|||
# |
|||
# Test bugs in RESET MASTER. |
|||
|
|||
--source include/have_debug.inc |
|||
--source include/have_log_bin.inc |
|||
|
|||
####################################################################### |
|||
# BUG#12574820: binlog.binlog_tmp_table timing out in daily and weekly trunk run |
|||
# Problem: MYSQL_BIN_LOG::reset_logs acquired LOCK_thread_count and |
|||
# LOCK_log in the wrong order. This could cause a deadlock when |
|||
# RESET MASTER was run concurrently with a disconnecting thread. |
|||
####################################################################### |
|||
|
|||
# We use sleep, not debug_sync, because the sync point needs to be in |
|||
# the thread shut down code after the debug sync facility has been |
|||
# shut down. |
|||
--let $write_var= SET DEBUG="+d,sleep_after_lock_thread_count_before_delete_thd"; CREATE TEMPORARY TABLE test.t1 (a INT); |
|||
--let $write_to_file= GENERATE |
|||
--disable_query_log |
|||
--source include/write_var_to_file.inc |
|||
--enable_query_log |
|||
|
|||
--exec $MYSQL < $write_to_file |
|||
RESET MASTER; |
|||
--remove_file $write_to_file |
|||
@ -0,0 +1 @@ |
|||
--testcase-timeout=40 |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue