~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-12-09 06:02:39 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20101209060239-t0ujftvcvd558yno
Tags: upstream-2010.12.05
ImportĀ upstreamĀ versionĀ 2010.12.05

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
--source ../plugin/transaction_log/tests/t/truncate_log.inc
8
8
--enable_query_log
9
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
 
10
16
--source ../plugin/transaction_log/tests/t/alter.inc
11
17
 
12
18
# Read in the transaction.log.
13
19
 
14
20
--exec ../plugin/transaction_log/utilities/transaction_reader var/master-data/local/transaction.log
15
21
 
 
22
--echo
 
23
--echo Generating statements for innodb replication log
 
24
--exec ../plugin/transaction_log/utilities/transaction_reader --use-innodb-replication-log -p $MASTER_MYPORT --start-transaction-id $max_transaction_id --ignore-events
 
25
 
16
26
# Truncate the log file to reset for the next test
17
27
--source ../plugin/transaction_log/tests/t/truncate_log.inc