~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/strict.result

  • Committer: Brian Aker
  • Date: 2009-02-18 01:52:47 UTC
  • mfrom: (873.2.35 devel)
  • Revision ID: brian@tangent.org-20090218015247-1hjai6kkwuife5zs
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1;
1
2
CREATE TABLE t1 (col1 INT);
2
3
INSERT INTO t1 VALUES(-2147483648),(0),(2147483647),('-2147483648'),('2147483647'),(-2147483648.0),(2147483647.0);
3
4
INSERT INTO t1 (col1) VALUES(-2147483649);
288
289
SHOW CREATE TABLE t1;
289
290
Table   Create Table
290
291
t1      CREATE TABLE `t1` (
291
 
  `col1` int NOT NULL,
 
292
  `col1` int NOT NULL DEFAULT '99',
292
293
  `col2` varchar(6) NOT NULL
293
294
) ENGINE=InnoDB
294
295
INSERT INTO t1 VALUES (1, 'hello');
437
438
show create table t1;
438
439
Table   Create Table
439
440
t1      CREATE TABLE `t1` (
440
 
  `a` int NOT NULL,
 
441
  `a` int NOT NULL DEFAULT '0',
441
442
  `b` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
442
443
  PRIMARY KEY (`a`)
443
444
) ENGINE=InnoDB
447
448
show create table t1;
448
449
Table   Create Table
449
450
t1      CREATE TABLE `t1` (
450
 
  `a` int NOT NULL,
451
 
  `b` timestamp NOT NULL,
 
451
  `a` int NOT NULL DEFAULT '0',
 
452
  `b` timestamp NOT NULL DEFAULT '2005-01-02 03:04:05',
452
453
  PRIMARY KEY (`a`)
453
454
) ENGINE=InnoDB
454
455
drop table t1;
465
466
show create table t1;
466
467
Table   Create Table
467
468
t1      CREATE TABLE `t1` (
468
 
  `i` int
 
469
  `i` int DEFAULT NULL
469
470
) ENGINE=InnoDB COMMENT='123456789*123456789*123456789*123456789*123456789*123456789*'
470
471
drop table t1;
471
472
create table t1(col1 int, col2 int,