Debian Codegraph @

mysql-test/suite/binlog_gtid/t/binlog_gtid_cache.test

raw
1
2 --source include/have_debug.inc
3 --source include/have_binlog_format_row.inc
4
5 #
6 # Test case for BUG#13738296
7 #
8 #
9
10 --disable_result_log
11 --disable_query_log
12 SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
13 CREATE TABLE t (a VARCHAR(1000000)) ENGINE = InnoDB;
14 BEGIN;
15 INSERT INTO t VALUES (REPEAT('a', 20000));
16 SAVEPOINT sp;
17 INSERT INTO t VALUES (REPEAT('a', 20000));
18 ROLLBACK TO sp;
19 COMMIT;
20
21 SET sql_mode = default;
22 DROP TABLE t;
23
24 # If the bug had not been fixed, this would result in an
25 # error stating that the binlog could not be read.
26 SHOW BINLOG EVENTS;
27 --enable_result_log
28 --enable_query_log
29
30 --echo PASS