~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/select.test

  • Committer: Monty Taylor
  • Date: 2008-07-26 16:23:04 UTC
  • mfrom: (212 drizzle)
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080726162304-6yxlhokjstx2v13d
MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
--enable_warnings
14
14
 
15
15
CREATE TABLE t1 (
16
 
  Period smallint(4) unsigned zerofill DEFAULT '0000' NOT NULL,
 
16
  Period smallint(4) unsigned DEFAULT '0' NOT NULL,
17
17
  Varor_period smallint(4) unsigned DEFAULT '0' NOT NULL
18
18
);
19
19
 
29
29
 
30
30
CREATE TABLE t2 (
31
31
  auto int not null auto_increment,
32
 
  fld1 int(6) unsigned zerofill DEFAULT '000000' NOT NULL,
33
 
  companynr tinyint(2) unsigned zerofill DEFAULT '00' NOT NULL,
 
32
  fld1 int(6) unsigned DEFAULT '0' NOT NULL,
 
33
  companynr tinyint(2) unsigned DEFAULT '0' NOT NULL,
34
34
  fld3 char(30) DEFAULT '' NOT NULL,
35
35
  fld4 char(35) DEFAULT '' NOT NULL,
36
36
  fld5 char(35) DEFAULT '' NOT NULL,
1496
1496
#
1497
1497
 
1498
1498
create table t4 (
1499
 
  companynr tinyint(2) unsigned zerofill NOT NULL default '00',
 
1499
  companynr tinyint(2) unsigned NOT NULL default '0',
1500
1500
  companyname char(30) NOT NULL default '',
1501
1501
  PRIMARY KEY (companynr),
1502
1502
  UNIQUE KEY companyname(companyname)