| 1 |
# ==== Purpose ==== |
| 2 |
# |
| 3 |
# When binlog is enabled and @@SESSION.GTID_NEXT == 'UUID:NUMBER', |
| 4 |
# verify that the command 'BEGIN' causes an error |
| 5 |
# 'ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET' inside |
| 6 |
# an empty/a non-empty transaction, since it causes an implicit |
| 7 |
# commit. We do not save the gtid specified by GTID_NEXT into |
| 8 |
# GLOBAL@gtid_executed in the case. |
| 9 |
# |
| 10 |
# ==== Implementation ==== |
| 11 |
# |
| 12 |
# See extra/binlog_tests/gtid_next_begin_caused_trx.test |
| 13 |
# |
| 14 |
# ==== References ==== |
| 15 |
# |
| 16 |
# Bug#22130929 GTID_NEXT AND BEGIN BEHAVIOR IS DIFFERENT B/W BINLOG AND BINLOG-LESS SERVER |
| 17 |
# |
| 18 |
|
| 19 |
# Test in this file is binlog format agnostic, thus no need |
| 20 |
# to rerun them for every format. |
| 21 |
--source include/have_binlog_format_row.inc |
| 22 |
|
| 23 |
# Make sure the test is repeatable |
| 24 |
RESET MASTER; |
| 25 |
|
| 26 |
--source extra/binlog_tests/gtid_next_begin_caused_trx.test |
| 27 |
|