~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/archive_aio_posix.test

  • Committer: Monty Taylor
  • Date: 2008-07-05 18:10:38 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705181038-0ih0nnamu5qrut0y
Fixed prototypes. Cleaned define a little bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
 
17
17
CREATE TABLE t1 (
18
 
  Period int(4) zerofill DEFAULT '0000' NOT NULL,
19
 
  Varor_period int(4) DEFAULT '0' NOT NULL
 
18
  Period smallint(4) unsigned zerofill DEFAULT '0000' NOT NULL,
 
19
  Varor_period smallint(4) unsigned DEFAULT '0' NOT NULL
20
20
) ENGINE=archive;
21
21
 
22
22
INSERT INTO t1 VALUES (9410,9412);
31
31
 
32
32
CREATE TABLE t2 (
33
33
  auto int,
34
 
  fld1 int(6) zerofill DEFAULT '000000' NOT NULL,
35
 
  companynr int(2) zerofill DEFAULT '00' NOT NULL,
 
34
  fld1 int(6) unsigned zerofill DEFAULT '000000' NOT NULL,
 
35
  companynr tinyint(2) unsigned zerofill DEFAULT '00' NOT NULL,
36
36
  fld3 char(30) DEFAULT '' NOT NULL,
37
37
  fld4 char(35) DEFAULT '' NOT NULL,
38
38
  fld5 char(35) DEFAULT '' NOT NULL,
1303
1303
select * FROM t3 where fld3='bonfire';
1304
1304
select count(*) FROM t3;
1305
1305
# Clean up path in error message
1306
 
--replace_result $DRIZZLE_TEST_DIR . /var/master-data/ /
 
1306
--replace_result $MYSQL_TEST_DIR . /var/master-data/ /
1307
1307
rename table t3 to t4;
1308
1308
select * FROM t4 where fld3='bonfire';
1309
1309
select count(*) FROM t4;