~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/command_log/t/alter.test

  • Committer: Brian Aker
  • Date: 2009-09-21 23:40:18 UTC
  • mfrom: (1039.5.63 replication)
  • Revision ID: brian@gaz-20090921234018-gd9kqdyigwxtik9z
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Tests ALTER statements and the command log
 
3
#
 
4
 
 
5
--source suite/command_log/t/alter.inc
 
6
 
 
7
# Read in the command.log.  We must cut out all the Timestamp: XXXXXX
 
8
# because they are not deterministic. The XID numbers are also removed
 
9
# these are deterministic, but they introduce a test dependancy making
 
10
# it difficult to add/remove tests in the future.
 
11
 
 
12
--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'
 
13
 
 
14
# Truncate the log file to reset for the next test
 
15
--source suite/command_log/t/truncate_log.inc