2
# Tests SELECT FOR UPDATE
6
# Ignore startup/shutdown events
8
--source ../plugin/transaction_log/tests/t/truncate_log.inc
11
# Determine the starting point for the inno transaction log
13
let $max_transaction_id= `SELECT MAX(TRANSACTION_ID) FROM DATA_DICTIONARY.INNODB_REPLICATION_LOG`;
14
inc $max_transaction_id;
17
# Populate log with some records...
18
--source ../plugin/transaction_log/tests/t/select_for_update.inc
20
# Read in the transaction.log.
22
--replace_result $DRIZZLETEST_VARDIR VARDIR
23
--exec ../plugin/transaction_log/utilities/transaction_reader $DRIZZLETEST_VARDIR/master-data/local/transaction.log
26
--echo Generating statements for innodb replication log
27
--exec ../plugin/transaction_log/utilities/transaction_reader --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events
29
# Truncate the log file to reset for the next test
30
--source ../plugin/transaction_log/tests/t/truncate_log.inc