/usr/lib/mysql-testsuite/t/debug_sync2.test is in percona-server-test-5.6 5.6.22-rel71.0-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | --source include/have_innodb.inc
--source include/have_debug_sync.inc
--echo #
--echo # Bug#13688248 CRASH IN DIAGNOSTICS_AREA::SET_OK_STATUS WHEN USING DEBUG_SYNC
--echo #
SET SESSION DEBUG_SYNC= 'RESET';
CREATE TABLE t1 (pk INT, PRIMARY KEY(pk));
connect (con1,localhost,root,,);
connection con1;
SET SESSION sql_mode=TRADITIONAL;
SET SESSION autocommit=1;
INSERT INTO t1 VALUES(1);
connection con1;
SET SESSION debug_sync='write_row_replace SIGNAL go_ahead1 WAIT_FOR comes_never ';
--send
REPLACE INTO t1 ( pk ) VALUES ( 1 );
--reap;
DROP TABLE t1;
|