~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/func_test.result

[patch 112/129] Merge patch for revision 1925 from InnoDB SVN:
revno: 1925
revision-id: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6169
parent: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6163
committer: calvin
timestamp: Thu 2009-11-12 12:40:43 +0000
message:
  branches/zip: add test case for bug#46676
  
  This crash is reproducible with InnoDB plugin 1.0.4 + MySQL 5.1.37.
  But no longer reproducible after MySQL 5.1.38 (with plugin 1.0.5).
  Add test case to catch future regression.
added:
  mysql-test/innodb_bug46676.result 6169@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2Fmysql-test%2Finnodb_bug46676.result
  mysql-test/innodb_bug46676.test 6169@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2Fmysql-test%2Finnodb_bug46676.test
diff:
=== added file 'mysql-test/innodb_bug46676.result'

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
5 mod 3 5 mod -3        -5 mod 3        -5 mod -3
91
91
2       2       -2      -2
92
92
select (12%0) <=> null      as '1';
93
 
ERROR 22012: Division by 0
 
93
1
 
94
1
 
95
Warnings:
 
96
Error   1365    Division by 0
94
97
select (12%0) is null       as '1';
95
 
ERROR 22012: Division by 0
 
98
1
 
99
1
 
100
Warnings:
 
101
Error   1365    Division by 0
96
102
select 12%0                 as 'NULL';
97
 
ERROR 22012: Division by 0
 
103
NULL
 
104
NULL
 
105
Warnings:
 
106
Error   1365    Division by 0
98
107
select 12%2                 as '0';
99
108
0
100
109
0
117
126
NULL
118
127
NULL
119
128
select (12 mod 0) <=> null  as '1';
120
 
ERROR 22012: Division by 0
 
129
1
 
130
1
 
131
Warnings:
 
132
Error   1365    Division by 0
121
133
select (12 mod 0) is null   as '1';
122
 
ERROR 22012: Division by 0
 
134
1
 
135
1
 
136
Warnings:
 
137
Error   1365    Division by 0
123
138
select 12 mod 0             as 'NULL';
124
 
ERROR 22012: Division by 0
 
139
NULL
 
140
NULL
 
141
Warnings:
 
142
Error   1365    Division by 0
125
143
select 12 mod 2             as '0';
126
144
0
127
145
0
141
159
NULL
142
160
NULL
143
161
select mod(12.0, 0)         as 'NULL';
144
 
ERROR 22012: Division by 0
 
162
NULL
 
163
NULL
 
164
Warnings:
 
165
Error   1365    Division by 0
145
166
select mod(12, 0.0)         as 'NULL';
146
 
ERROR 22012: Division by 0
 
167
NULL
 
168
NULL
 
169
Warnings:
 
170
Error   1365    Division by 0
147
171
select mod(12, NULL)        as 'NULL';
148
172
NULL
149
173
NULL