~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/case.result

  • Committer: brian
  • Date: 2009-02-26 20:57:39 UTC
  • mfrom: (896.3.16 nofrm896)
  • mto: This revision was merged to the branch mainline in revision 901.
  • Revision ID: brian@bitters-20090226205739-yv4cbwna6myvkq22
Merge of Stewart + Jay's fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
t1      CREATE TABLE `t1` (
109
109
  `c1` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
110
110
  `c2` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
111
 
  `c3` varbinary(4) NOT NULL DEFAULT '',
112
 
  `c4` varbinary(4) NOT NULL DEFAULT '',
113
 
  `c5` varbinary(4) NOT NULL DEFAULT '',
114
 
  `c6` varbinary(4) NOT NULL DEFAULT '',
115
 
  `c7` decimal(2,1) NOT NULL DEFAULT '0.0',
116
 
  `c8` decimal(2,1) NOT NULL DEFAULT '0.0',
 
111
  `c3` varbinary(4) NOT NULL,
 
112
  `c4` varbinary(4) NOT NULL,
 
113
  `c5` varbinary(4) NOT NULL,
 
114
  `c6` varbinary(4) NOT NULL,
 
115
  `c7` decimal(2,1) NOT NULL,
 
116
  `c8` decimal(2,1) NOT NULL,
117
117
  `c9` decimal(2,1) DEFAULT NULL,
118
 
  `c10` double NOT NULL DEFAULT '0',
119
 
  `c11` double NOT NULL DEFAULT '0',
120
 
  `c12` varbinary(5) NOT NULL DEFAULT ''
 
118
  `c10` double NOT NULL,
 
119
  `c11` double NOT NULL,
 
120
  `c12` varbinary(5) NOT NULL
121
121
) ENGINE=InnoDB
122
122
DROP TABLE t1;
123
123
SELECT CASE 
156
156
SHOW CREATE TABLE t1;
157
157
Table   Create Table
158
158
t1      CREATE TABLE `t1` (
159
 
  `COALESCE(1)` int NOT NULL DEFAULT '0',
160
 
  `COALESCE(1.0)` decimal(2,1) NOT NULL DEFAULT '0.0',
161
 
  `COALESCE('a')` varchar(1) NOT NULL DEFAULT '',
162
 
  `COALESCE(1,1.0)` decimal(2,1) NOT NULL DEFAULT '0.0',
163
 
  `COALESCE(1,'1')` varbinary(4) NOT NULL DEFAULT '',
164
 
  `COALESCE(1.1,'1')` varbinary(4) NOT NULL DEFAULT '',
 
159
  `COALESCE(1)` int NOT NULL,
 
160
  `COALESCE(1.0)` decimal(2,1) NOT NULL,
 
161
  `COALESCE('a')` varchar(1) NOT NULL,
 
162
  `COALESCE(1,1.0)` decimal(2,1) NOT NULL,
 
163
  `COALESCE(1,'1')` varbinary(4) NOT NULL,
 
164
  `COALESCE(1.1,'1')` varbinary(4) NOT NULL,
165
165
  `COALESCE('a' COLLATE utf8_bin,'b')` varchar(1) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL
166
166
) ENGINE=InnoDB
167
167
DROP TABLE t1;