~drizzle-trunk/drizzle/development

1143.2.10 by Jay Pipes
Phase 2 new replication work:
1
#
2
# Tests auto_commit behaviour and the transaction log
3
#
1802.17.17 by Joseph Daly
port additional tests
4
# Ignore startup/shutdown events
5
--disable_query_log
6
--source ../plugin/transaction_log/tests/t/truncate_log.inc
7
--enable_query_log
8
9
# Determine the starting point for the inno transaction log
10
--disable_query_log
11
let $max_transaction_id= `SELECT MAX(TRANSACTION_ID) FROM DATA_DICTIONARY.INNODB_REPLICATION_LOG`;
12
inc $max_transaction_id;
13
--enable_query_log
1143.2.10 by Jay Pipes
Phase 2 new replication work:
14
15
# Populate log with some records...
1237.10.5 by Monty Taylor
Plugin tests in plugin dirs.
16
--source ../plugin/transaction_log/tests/t/auto_commit.inc
1143.2.10 by Jay Pipes
Phase 2 new replication work:
17
1143.2.20 by Jay Pipes
* Fixes bug in replication where inserts, updates, and
18
# Read in the transaction.log.
1143.2.10 by Jay Pipes
Phase 2 new replication work:
19
1931.2.1 by David Shrewsbury
Move transaction_reader from drizzled/message to transaction_log plugin; also pulled transaction_reader file operations out into separate class.
20
--exec ../plugin/transaction_log/utilities/transaction_reader var/master-data/local/transaction.log
1143.2.10 by Jay Pipes
Phase 2 new replication work:
21
1802.17.17 by Joseph Daly
port additional tests
22
--echo
23
--echo Generating statements for innodb replication log
24
--exec ../plugin/transaction_log/utilities/transaction_reader --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events
25
1143.2.10 by Jay Pipes
Phase 2 new replication work:
26
# Truncate the log file to reset for the next test
1237.10.5 by Monty Taylor
Plugin tests in plugin dirs.
27
--source ../plugin/transaction_log/tests/t/truncate_log.inc