~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/show_check.result

  • Committer: Brian Aker
  • Date: 2009-02-11 02:40:38 UTC
  • mfrom: (873.1.1 temporal-new)
  • Revision ID: brian@tangent.org-20090211024038-nor7dnb3zgnejq25
Merge Jay.

Show diffs side-by-side

added added

removed removed

Lines of Context:
293
293
type_char char(2),
294
294
type_varchar varchar(10),
295
295
type_timestamp timestamp not null,
296
 
type_date date not null default '0000-00-00',
 
296
type_date date,
297
297
type_time time not null default '00:00:00',
298
298
type_datetime datetime not null default '0000-00-00 00:00:00',
299
299
type_enum enum ('red', 'green', 'blue'),
312
312
  `type_char` varchar(2),
313
313
  `type_varchar` varchar(10),
314
314
  `type_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
315
 
  `type_date` date NOT NULL,
 
315
  `type_date` date,
316
316
  `type_time` time NOT NULL,
317
317
  `type_datetime` datetime NOT NULL,
318
318
  `type_enum` enum('red','green','blue'),
323
323
insert into t1 (type_timestamp) values ("2003-02-07 10:00:01");
324
324
select * from t1;
325
325
type_int        type_bigint     type_decimal    type_numeric    empty_char      type_char       type_varchar    type_timestamp  type_date       type_time       type_datetime   type_enum       type_set        type_blob
326
 
NULL    NULL    NULL    NULL    NULL    NULL    NULL    2003-02-07 10:00:01     0000-00-00      00:00:00        0000-00-00 00:00:00     NULL    NULL    NULL
 
326
NULL    NULL    NULL    NULL    NULL    NULL    NULL    2003-02-07 10:00:01     NULL    00:00:00        0000-00-00 00:00:00     NULL    NULL    NULL
327
327
drop table t1;
328
328
create table t1 (a int not null);
329
329
create table t2 select max(a) from t1;