~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/archive.test

  • Committer: Stewart Smith
  • Date: 2008-09-25 10:04:06 UTC
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080925100406-hld92f4dr4nuar3a
Move compression functions (compress, uncompress and compressed_length) out into modules and fix test

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
SHOW VARIABLES LIKE "archive_%";
15
15
 
16
16
CREATE TABLE t1 (
17
 
  Period int DEFAULT '0000' NOT NULL,
18
 
  Varor_period int DEFAULT '0' NOT NULL
 
17
  Period smallint unsigned DEFAULT '0000' NOT NULL,
 
18
  Varor_period smallint unsigned DEFAULT '0' NOT NULL
19
19
) ENGINE=archive;
20
20
 
21
21
INSERT INTO t1 VALUES (9410,9412);
30
30
 
31
31
CREATE TABLE t2 (
32
32
  auto int,
33
 
  fld1 int DEFAULT '000000' NOT NULL,
34
 
  companynr int DEFAULT '00' NOT NULL,
 
33
  fld1 int unsigned DEFAULT '000000' NOT NULL,
 
34
  companynr tinyint unsigned DEFAULT '00' NOT NULL,
35
35
  fld3 char(30) DEFAULT '' NOT NULL,
36
36
  fld4 char(35) DEFAULT '' NOT NULL,
37
37
  fld5 char(35) DEFAULT '' NOT NULL,