~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/transaction_log/t/delete.test

  • Committer: Eric Day
  • Date: 2009-10-31 21:53:33 UTC
  • mfrom: (1200 staging)
  • mto: This revision was merged to the branch mainline in revision 1202.
  • Revision ID: eday@oddments.org-20091031215333-j94bjoanwmi68p6f
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# Tests simple DELETE statements and the command log
 
2
# Tests simple DELETE statements and the transaction log
3
3
#
4
4
 
5
5
# Populate log with some records...
6
 
--source suite/command_log/t/delete.inc
7
 
 
8
 
# Read in the command.log.  We must cut out all the Timestamp: XXXXXX
9
 
# because they are not deterministic. The XID numbers are also removed
10
 
# these are deterministic, but they introduce a test dependancy making
11
 
# it difficult to add/remove tests in the future.
12
 
 
13
 
--exec ../drizzled/message/command_reader var/master-data/command.log | sed 's/\/\* SERVER ID: [0-9] TRX ID: [0-9]* SESSION ID: [0-9]* \*\/ //g' | sed 's/Timestamp: [0-9]*//g'
 
6
--source suite/transaction_log/t/delete.inc
 
7
 
 
8
# Read in the transaction.log.
 
9
 
 
10
--exec ../drizzled/message/transaction_reader var/master-data/transaction.log
14
11
 
15
12
# Truncate the log file to reset for the next test
16
 
--source suite/command_log/t/truncate_log.inc
 
13
--source suite/transaction_log/t/truncate_log.inc