2
# Tests simple INSERT statements and the transaction log
5
# Ignore startup/shutdown events
7
--source ../plugin/transaction_log/tests/t/truncate_log.inc
10
# Determine the starting point for the inno transaction log
12
let $max_transaction_id= `SELECT MAX(TRANSACTION_ID) FROM DATA_DICTIONARY.INNODB_REPLICATION_LOG`;
13
inc $max_transaction_id;
16
# Populate log with some records...
17
--source ../plugin/transaction_log/tests/t/insert.inc
19
# Read in the transaction.log.
21
--replace_result $DRIZZLETEST_VARDIR VARDIR
22
--exec ../plugin/transaction_log/utilities/transaction_reader $DRIZZLETEST_VARDIR/master-data/local/transaction.log
25
--echo Generating statements for innodb replication log
26
--exec ../plugin/transaction_log/utilities/transaction_reader --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events
28
# Truncate the log file to reset for the next test
29
--source ../plugin/transaction_log/tests/t/truncate_log.inc