~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/case.result

  • Committer: Brian Aker
  • Date: 2009-02-26 20:41:50 UTC
  • mfrom: (899.1.1 drizzle)
  • Revision ID: brian@tangent.org-20090226204150-i22ztuqtyfefef2s
Merge of Mine, Jay's and Stewart's

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;