~kalebral-deactivatedaccount/drizzle/change-error_num_to_enum-2

« back to all changes in this revision

Viewing changes to tests/r/strict.result

  • Committer: Patrick Crews
  • Date: 2010-08-19 23:23:15 UTC
  • mfrom: (1720.1.3 build)
  • Revision ID: gleebix@gmail.com-20100819232315-xcpbkwc5vz7kjhrp
Rollup patch - stewart's show create table patch + a couple of fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
t1      CREATE TABLE `t1` (
321
321
  `col1` int NOT NULL DEFAULT '99',
322
322
  `col2` varchar(6) NOT NULL
323
 
) ENGINE=DEFAULT
 
323
) ENGINE=DEFAULT COLLATE = utf8_general_ci
324
324
INSERT INTO t1 VALUES (1, 'hello');
325
325
INSERT INTO t1 (col2) VALUES ('hello2');
326
326
INSERT INTO t1 (col2) VALUES (NULL);
427
427
t1      CREATE TABLE `t1` (
428
428
  `a` bigint NOT NULL,
429
429
  `b` date NOT NULL
430
 
) ENGINE=DEFAULT
 
430
) ENGINE=DEFAULT COLLATE = utf8_general_ci
431
431
drop table t1;
432
432
create table t1(a int, b timestamp);
433
433
alter table t1 add primary key(a);
437
437
  `a` int NOT NULL,
438
438
  `b` timestamp NULL DEFAULT NULL,
439
439
  PRIMARY KEY (`a`)
440
 
) ENGINE=DEFAULT
 
440
) ENGINE=DEFAULT COLLATE = utf8_general_ci
441
441
drop table t1;
442
442
create table t1(a int, b timestamp default 20050102030405);
443
443
alter table t1 add primary key(a);
447
447
  `a` int NOT NULL,
448
448
  `b` timestamp NULL DEFAULT '2005-01-02 03:04:05',
449
449
  PRIMARY KEY (`a`)
450
 
) ENGINE=DEFAULT
 
450
) ENGINE=DEFAULT COLLATE = utf8_general_ci
451
451
drop table t1;
452
452
create table t1 (date date not null);
453
453
create table t2 select date from t1;
455
455
Table   Create Table
456
456
t2      CREATE TABLE `t2` (
457
457
  `date` date NOT NULL
458
 
) ENGINE=DEFAULT
 
458
) ENGINE=DEFAULT COLLATE = utf8_general_ci
459
459
drop table t2,t1;
460
460
create table t1 (i int)
461
461
comment='123456789*123456789*123456789*123456789*123456789*123456789*';
463
463
Table   Create Table
464
464
t1      CREATE TABLE `t1` (
465
465
  `i` int DEFAULT NULL
466
 
) ENGINE=DEFAULT COMMENT='123456789*123456789*123456789*123456789*123456789*123456789*'
 
466
) ENGINE=DEFAULT COMMENT='123456789*123456789*123456789*123456789*123456789*123456789*' COLLATE = utf8_general_ci
467
467
drop table t1;
468
468
create table t1(col1 int, col2 int, 
469
469
col3 int, col4 int,