~drizzle-trunk/drizzle/development

1143.2.22 by Jay Pipes
Adds functionality to handle REPLACE statements correctly in the replication
1
#
2
# Tests simple REPLACE statements and the transaction log
3
#
4
1856.3.1 by patrick crews
Changes to transaction_log tests to deal with transaction_id's based on Innodb id's
5
6
# Ignore startup/shutdown events
7
--disable_query_log
8
--source ../plugin/transaction_log/tests/t/truncate_log.inc
9
--enable_query_log
10
1802.17.17 by Joseph Daly
port additional tests
11
# Determine the starting point for the inno transaction log
12
--disable_query_log
13
let $max_transaction_id= `SELECT MAX(TRANSACTION_ID) FROM DATA_DICTIONARY.INNODB_REPLICATION_LOG`;
14
inc $max_transaction_id;
15
--enable_query_log
16
1143.2.22 by Jay Pipes
Adds functionality to handle REPLACE statements correctly in the replication
17
# Populate log with some records...
1237.10.5 by Monty Taylor
Plugin tests in plugin dirs.
18
--source ../plugin/transaction_log/tests/t/replace.inc
1143.2.22 by Jay Pipes
Adds functionality to handle REPLACE statements correctly in the replication
19
20
# Read in the transaction.log.
21
2088.9.10 by patrick crews
Updates to filesystem_engine and transaction_log tests to allow dbqp + test-run.pl to live together and execute all tests
22
--replace_result $DRIZZLETEST_VARDIR VARDIR
2258.1.1 by patrick crews
Made the transaction_reader utility part of the codeTree. We now export the path an an env var that can be more easily called by drizzletest. Made adjustments to trx_log tests that need this
23
--exec $DRIZZLE_TRX_READER $DRIZZLETEST_VARDIR/master-data/local/transaction.log
1143.2.22 by Jay Pipes
Adds functionality to handle REPLACE statements correctly in the replication
24
1802.17.17 by Joseph Daly
port additional tests
25
--echo
26
--echo Generating statements for innodb replication log
2258.1.1 by patrick crews
Made the transaction_reader utility part of the codeTree. We now export the path an an env var that can be more easily called by drizzletest. Made adjustments to trx_log tests that need this
27
--exec $DRIZZLE_TRX_READER --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events
1802.17.17 by Joseph Daly
port additional tests
28
1143.2.22 by Jay Pipes
Adds functionality to handle REPLACE statements correctly in the replication
29
# Truncate the log file to reset for the next test
1237.10.5 by Monty Taylor
Plugin tests in plugin dirs.
30
--source ../plugin/transaction_log/tests/t/truncate_log.inc