~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/archive.test

  • Committer: Andy Lester
  • Date: 2008-08-09 05:13:22 UTC
  • mto: (266.1.29 use-replace-funcs)
  • mto: This revision was merged to the branch mainline in revision 287.
  • Revision ID: andy@petdance.com-20080809051322-dzas70no2mv6c9i5
removed incorrect comment

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,
1302
1302
select * FROM t3 where fld3='bonfire';
1303
1303
select count(*) FROM t3;
1304
1304
# Clean up path in error message
1305
 
--replace_result $DRIZZLE_TEST_DIR . /var/master-data/ /
 
1305
--replace_result $MYSQL_TEST_DIR . /var/master-data/ /
1306
1306
rename table t3 to t4;
1307
1307
select * FROM t4 where fld3='bonfire';
1308
1308
select count(*) FROM t4;