1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# This test validates message format for a rollback of a large transactions
# that is broken up into multiple Transaction messages.
# Ignore startup/shutdown events
--disable_query_log
--source ../plugin/transaction_log/tests/t/truncate_log.inc
--enable_query_log
CREATE TABLE t (a INT NOT NULL PRIMARY KEY, b VARCHAR(100));
START TRANSACTION;
--source ../plugin/transaction_log/tests/t/bulk_insert.inc
ROLLBACK;
--echo
--source ../plugin/transaction_log/tests/t/bulk_check.inc
DROP TABLE t;
# Truncate the log file to reset for the next test
--source ../plugin/transaction_log/tests/t/truncate_log.inc
|