~posulliv/drizzle/schema-less

« back to all changes in this revision

Viewing changes to tests/r/type_timestamp.result

  • Committer: Brian Aker
  • Date: 2010-03-02 07:03:12 UTC
  • mfrom: (1309.2.10 drizzle-build)
  • Revision ID: brian@gaz-20100302070312-u8xyk09u2970pgzp
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
  `t3` timestamp NULL DEFAULT NULL
150
150
) ENGINE=DEFAULT
151
151
show columns from t1;
152
 
Field   Type    Null    Default Default is NULL On Update
 
152
Field   Type    Null    Default Default_is_NULL On_Update
153
153
t1      TIMESTAMP       TRUE    2003-01-01 00:00:00     FALSE   
154
154
t2      DATETIME        TRUE    2003-01-01 00:00:00     TRUE    
155
155
t3      TIMESTAMP       TRUE    2003-01-01 00:00:00     TRUE    
173
173
  `t3` timestamp NULL DEFAULT NULL
174
174
) ENGINE=DEFAULT
175
175
show columns from t1;
176
 
Field   Type    Null    Default Default is NULL On Update
 
176
Field   Type    Null    Default Default_is_NULL On_Update
177
177
t1      TIMESTAMP       TRUE    NOW()   TRUE    
178
178
t2      DATETIME        TRUE    NOW()   TRUE    
179
179
t3      TIMESTAMP       TRUE    NOW()   TRUE    
199
199
  `t2` datetime DEFAULT NULL
200
200
) ENGINE=DEFAULT
201
201
show columns from t1;
202
 
Field   Type    Null    Default Default is NULL On Update
 
202
Field   Type    Null    Default Default_is_NULL On_Update
203
203
t1      TIMESTAMP       TRUE    2003-01-01 00:00:00     FALSE   NOW()
204
204
t2      DATETIME        TRUE    2003-01-01 00:00:00     TRUE    NOW()
205
205
drop table t1;
224
224
  `t2` datetime DEFAULT NULL
225
225
) ENGINE=DEFAULT
226
226
show columns from t1;
227
 
Field   Type    Null    Default Default is NULL On Update
 
227
Field   Type    Null    Default Default_is_NULL On_Update
228
228
t1      TIMESTAMP       TRUE    NOW()   TRUE    NOW()
229
229
t2      DATETIME        TRUE    NOW()   TRUE    NOW()
230
230
drop table t1;
250
250
  `t3` timestamp NULL DEFAULT NULL
251
251
) ENGINE=DEFAULT
252
252
show columns from t1;
253
 
Field   Type    Null    Default Default is NULL On Update
 
253
Field   Type    Null    Default Default_is_NULL On_Update
254
254
t1      TIMESTAMP       TRUE            TRUE    
255
255
t2      DATETIME        TRUE            TRUE    
256
256
t3      TIMESTAMP       TRUE            TRUE    
276
276
  `t2` datetime DEFAULT NULL
277
277
) ENGINE=DEFAULT
278
278
show columns from t1;
279
 
Field   Type    Null    Default Default is NULL On Update
 
279
Field   Type    Null    Default Default_is_NULL On_Update
280
280
t1      TIMESTAMP       TRUE    NOW()   TRUE    NOW()
281
281
t2      DATETIME        TRUE    NOW()   TRUE    NOW()
282
282
truncate table t1;
438
438
PRIMARY KEY (`id`)
439
439
) AUTO_INCREMENT=1;
440
440
show fields from t1;
441
 
Field   Type    Null    Default Default is NULL On Update
 
441
Field   Type    Null    Default Default_is_NULL On_Update
442
442
id      INTEGER FALSE           FALSE   
443
443
username        VARCHAR FALSE           FALSE   
444
444
posted_on       TIMESTAMP       FALSE   NOW()   FALSE