~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to tests/suite/command_log/t/rename.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 simple RENAME statements and the command log
 
3
#
 
4
 
 
5
# Populate log with some records...
 
6
--source suite/command_log/t/rename.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/\/\* SID: [0-9] XID: [0-9]* \*\/ //g' | sed 's/Timestamp: [0-9]*//g'
 
14
 
 
15
# Truncate the log file to reset for the next test
 
16
--source suite/command_log/t/truncate_log.inc