~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/case.result

Fix pidfile argument.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
(CASE "two" when "one" then 1.00 WHEN "two" then 2.00 END) +0.0
39
39
2.00
40
40
select case 1/0 when "a" then "true" else "false" END;
41
 
ERROR 22012: Division by 0
 
41
case 1/0 when "a" then "true" else "false" END
 
42
false
 
43
Warnings:
 
44
Error   1365    Division by 0
42
45
select case 1/0 when "a" then "true" END;
43
 
ERROR 22012: Division by 0
 
46
case 1/0 when "a" then "true" END
 
47
NULL
 
48
Warnings:
 
49
Error   1365    Division by 0
44
50
select (case 1/0 when "a" then "true" END);
45
 
ERROR 22012: Division by 0
 
51
(case 1/0 when "a" then "true" END)
 
52
NULL
 
53
Warnings:
 
54
Error   1365    Division by 0
46
55
select (case 1/0 when "a" then "true" END) + 0.0;
47
 
ERROR 22012: Division by 0
 
56
(case 1/0 when "a" then "true" END) + 0.0
 
57
NULL
 
58
Warnings:
 
59
Error   1365    Division by 0
48
60
select case when 1>0 then "TRUE" else "FALSE" END;
49
61
case when 1>0 then "TRUE" else "FALSE" END
50
62
TRUE
194
206
2.00    2       NULL
195
207
DROP TABLE t1,t2;
196
208
End of 4.1 tests
197
 
create table t1 (a int, b bigint unsigned);
 
209
create table t1 (a int, b bigint);
198
210
create table t2 (c int);
199
211
insert into t1 (a, b) values (1,4572794622775114594), (2,18196094287899841997),
200
212
(3,11120436154190595086);