~kaaveeacs/drizzle/privatized-members-of-NestedJoin

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Tests that tables without primary keys do not have
# INSERT statements logged to the transaction log
#

# Ignore startup/shutdown events
--disable_query_log
--source ../plugin/transaction_log/tests/t/truncate_log.inc
--enable_query_log

# Determine the starting point for the inno transaction log
--disable_query_log
let $max_transaction_id= `SELECT MAX(TRANSACTION_ID) FROM DATA_DICTIONARY.INNODB_REPLICATION_LOG`;
inc $max_transaction_id;
--enable_query_log

# Populate log with some records...
--source ../plugin/transaction_log/tests/t/no_primary_key.inc

# Read in the transaction.log.

--replace_result $DRIZZLETEST_VARDIR VARDIR
--exec $DRIZZLE_TRX_READER $DRIZZLETEST_VARDIR/master-data/local/transaction.log

--echo
--echo Generating statements for innodb replication log
--exec $DRIZZLE_TRX_READER --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events

# Truncate the log file to reset for the next test
--source ../plugin/transaction_log/tests/t/truncate_log.inc