~clint-fewbar/drizzle/regex-policy-cache-limiter

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/t/insert.test

  • Committer: Clint Byrum
  • Date: 2012-03-15 18:05:43 UTC
  • mfrom: (2224.1.302 workspace)
  • Revision ID: clint@ubuntu.com-20120315180543-9jxxm4q10k3np2ws
merging with latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Tests simple INSERT statements and the transaction log
3
 
#
4
 
 
5
 
# Ignore startup/shutdown events
6
 
--disable_query_log
7
 
--source ../plugin/transaction_log/tests/t/truncate_log.inc
8
 
--enable_query_log
9
 
 
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
15
 
 
16
 
# Populate log with some records...
17
 
--source ../plugin/transaction_log/tests/t/insert.inc
18
 
 
19
 
# Read in the transaction.log.
20
 
 
21
 
--replace_result $DRIZZLETEST_VARDIR VARDIR
22
 
--exec ../plugin/transaction_log/utilities/transaction_reader $DRIZZLETEST_VARDIR/master-data/local/transaction.log
23
 
 
24
 
--echo
25
 
--echo Generating statements for innodb replication log
26
 
--exec ../plugin/transaction_log/utilities/transaction_reader --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events
27
 
 
28
 
# Truncate the log file to reset for the next test
29
 
--source ../plugin/transaction_log/tests/t/truncate_log.inc