~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/null.result

  • Committer: Brian Aker
  • Date: 2010-03-02 17:59:26 UTC
  • mfrom: (1309.4.4 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1318.
  • Revision ID: brian@gaz-20100302175926-8t4bvdktaau3ejoa
Merge Randgen

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
INSERT INTO t1 (a, b) VALUES (0, 0);
241
241
CREATE TABLE t2 SELECT IFNULL(a, b) FROM t1;
242
242
DESCRIBE t2;
243
 
Field   Type    Null    Default Default is NULL On Update
 
243
Field   Type    Null    Default Default_is_NULL On_Update
244
244
IFNULL(a, b)    DECIMAL TRUE            TRUE    
245
245
DROP TABLE t2;
246
246
CREATE TABLE t2 SELECT IFNULL(a, NULL) FROM t1;
247
247
DESCRIBE t2;
248
 
Field   Type    Null    Default Default is NULL On Update
 
248
Field   Type    Null    Default Default_is_NULL On_Update
249
249
IFNULL(a, NULL) DECIMAL TRUE            TRUE    
250
250
DROP TABLE t2;
251
251
CREATE TABLE t2 SELECT IFNULL(NULL, b) FROM t1;
252
252
DESCRIBE t2;
253
 
Field   Type    Null    Default Default is NULL On Update
 
253
Field   Type    Null    Default Default_is_NULL On_Update
254
254
IFNULL(NULL, b) DECIMAL TRUE            TRUE    
255
255
DROP TABLE t1, t2;
256
256
# End of 5.0 tests