/usr/lib/mysql-testsuite/t/bug1380010.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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | #
# Test for https://bugs.launchpad.net/percona-server/+bug/1380010: in RBR,
# if there is a virtual temporary table for row conversion present, a Table_map
# event followed by two row events will crash the server.
#
# The current server does not produce such binlog. The statements below were
# produced by running, on 5.5.36-34.0:
# insert into ttt(c1) values (1000*rand()), (1000*rand()), (1000*rand()), (1000*rand());
# insert into ttt(c1) select 1000*rand() from ttt t1, ttt t2, ttt t3;
#
CREATE TABLE ttt(c1 CHAR(250), c2 TIME NOT NULL) ENGINE=InnoDB;
BINLOG '
VydmVA8BAAAAZwAAAGsAAAAAAAQANS41LjM2LTM0LjAtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAABXJ2ZUEzgNAAgAEgAEBAQEEgAAVAAEGggAAAAICAgCAA==
';
BEGIN;
# at 600
#141114 18:01:27 server id 1 end_log_pos 645 Table_map: `test`.`ttt` mapped to number 41
# at 645
#141114 18:01:27 server id 1 end_log_pos 1670 Write_rows: table id 41
# at 1670
#141114 18:01:27 server id 1 end_log_pos 2122 Write_rows: table id 41 flags: STMT_END_F
BINLOG '
VydmVBMBAAAALQAAAIUCAAAAACkAAAAAAAEABHRlc3QAA3R0dAAC/gsC/voB
VydmVBcBAAAAAQQAAIYGAAAAACkAAAAAAAAAAv/8EDg4MC45NjM0MzkwMTA5ODEAAAD8ETg0Mi4w
OTk0OTk3NDE2NjE4AAAA/BE1NjcuNjA3MjEyNDA5MDExMwAAAPwSMzExLjczNzU5MzU1MzcxNTk1
AAAA/BE4NTUuODY2MzYxMjc1MTkwOAAAAPwRMzQ0LjExOTA1NjQ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