Debian Codegraph @

mysql-test/suite/binlog_nogtid/t/binlog_nogtid_select_taking_write_locks.test

raw
1 # ==== Purpose ====
2 #
3 # The purpose of this script is to test the behaviour of `SELECT` based
4 # statements that acquire table write-locks on regards to `GTID_NEXT` and
5 # `GTID_EXECUTED` state, when `GTID_MODE` is set to `OFF_PERMISSIVE`.
6 #
7 # ==== References ====
8 #
9 # binlog_gtid.binlog_gtid_select_taking_write_locks
10 #
11 # BUG#27903848 [MYSQL 8.0 GA DEBUG BUILD] ASSERTION `GTID_NEXT_TYPE ==
12 # ANONYMOUS_GTID' FAILED.
13 #
14
15 --let $current_mode=`SELECT @@GLOBAL.GTID_MODE`
16 --let $current_enforce_consistency=`SELECT FIND_IN_SET(@@GLOBAL.ENFORCE_GTID_CONSISTENCY, 'OFF,ON,WARN') - 1`
17
18 --let $rpl_gtid_mode=OFF_PERMISSIVE
19 --let $rpl_set_enforce_gtid_consistency=0
20 --source include/rpl_set_gtid_mode.inc
21
22 --source extra/binlog_tests/binlog_select_taking_write_locks.inc
23
24 --let $rpl_gtid_mode=$current_mode
25 --let $rpl_set_enforce_gtid_consistency=$current_enforce_consistency
26 --let $no_extra_info=1
27 --source include/rpl_set_gtid_mode.inc