~posulliv/drizzle/memcached_applier

« back to all changes in this revision

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

  • Committer: Jay Pipes
  • Date: 2009-07-29 23:25:20 UTC
  • mto: (1059.5.5 filtered-replicator)
  • mto: This revision was merged to the branch mainline in revision 1074.
  • Revision ID: jpipes@serialcoder-20090729232520-1sly0y3330fmcj45
Splits out the previously aggregated all.test case into separate test
cases which truncate the log after each run.

Adds an UPDATE test case.

Fixes Table/Field interface for read and write bitmaps to enable
clearing the read or write bit.

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/\/\* SID: [0-9] XID: [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