~drizzle-trunk/drizzle/development

1662.3.3 by Joe Daly
add new test for multi table updates within a transaction
1
#
2
# Tests changes to multiple tables within the same transaction
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
# Ignore startup/shutdown events
6
--disable_query_log
7
--source ../plugin/transaction_log/tests/t/truncate_log.inc
8
--enable_query_log
9
1802.17.17 by Joseph Daly
port additional tests
10
# Determine the starting point for the inno transaction log
11
--disable_query_log
12
let $max_transaction_id= `SELECT MAX(TRANSACTION_ID) FROM DATA_DICTIONARY.INNODB_REPLICATION_LOG`;
13
inc $max_transaction_id;
14
--enable_query_log
1856.3.1 by patrick crews
Changes to transaction_log tests to deal with transaction_id's based on Innodb id's
15
1662.3.3 by Joe Daly
add new test for multi table updates within a transaction
16
# Populate log with some records...
17
--source ../plugin/transaction_log/tests/t/multi_table.inc
18
19
# Read in the transaction.log.
20
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
21
--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
22
--exec $DRIZZLE_TRX_READER $DRIZZLETEST_VARDIR/master-data/local/transaction.log
1662.3.3 by Joe Daly
add new test for multi table updates within a transaction
23
1802.17.17 by Joseph Daly
port additional tests
24
--echo
25
--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
26
--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
27
1662.3.3 by Joe Daly
add new test for multi table updates within a transaction
28
# Truncate the log file to reset for the next test
29
--source ../plugin/transaction_log/tests/t/truncate_log.inc