~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-12-05 04:52:45 UTC
  • mfrom: (1974.1.2 build)
  • Revision ID: kalebral@gmail.com-20101205045245-ey8nbzofn98dr7gb
Merge Padraig - Small fix needed when building a plugin out-of-tree.
Merge Joe - More work on storing transaction log in innodb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Ignore startup/shutdown events
 
2
--disable_query_log
 
3
--source ../plugin/transaction_log/tests/t/truncate_log.inc
 
4
--enable_query_log
 
5
 
 
6
# Determine the starting point for the inno transaction log
 
7
--disable_query_log
 
8
let $max_transaction_id= `SELECT MAX(TRANSACTION_ID) FROM DATA_DICTIONARY.INNODB_REPLICATION_LOG`;
 
9
inc $max_transaction_id;
 
10
--enable_query_log
 
11
 
1
12
# Populate log with some records...
2
13
--source ../plugin/transaction_log/tests/t/create_table.inc
3
14
 
5
16
 
6
17
--exec ../plugin/transaction_log/utilities/transaction_reader var/master-data/local/transaction.log
7
18
 
 
19
--echo
 
20
--echo Generating statements for innodb replication log
 
21
--exec ../plugin/transaction_log/utilities/transaction_reader --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events
 
22
 
8
23
# Truncate the log file to reset for the next test
9
24
--source ../plugin/transaction_log/tests/t/truncate_log.inc