2
# Tests auto_commit behaviour and the transaction log
4
# Ignore startup/shutdown events
6
--source ../plugin/transaction_log/tests/t/truncate_log.inc
9
# Determine the starting point for the inno transaction log
11
let $max_transaction_id= `SELECT MAX(TRANSACTION_ID) FROM DATA_DICTIONARY.INNODB_REPLICATION_LOG`;
12
inc $max_transaction_id;
15
# Populate log with some records...
16
--source ../plugin/transaction_log/tests/t/auto_commit.inc
18
# Read in the transaction.log.
20
--replace_result $DRIZZLETEST_VARDIR VARDIR
21
--exec ../plugin/transaction_log/utilities/transaction_reader $DRIZZLETEST_VARDIR/master-data/local/transaction.log
24
--echo Generating statements for innodb replication log
25
--exec ../plugin/transaction_log/utilities/transaction_reader --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events
27
# Truncate the log file to reset for the next test
28
--source ../plugin/transaction_log/tests/t/truncate_log.inc