forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit284e473
committed
Fix an oversight I introduced on 2003-12-28: find_nots/push_nots should
continue to recurse after eliminating a NOT-below-a-NOT, since thecontained subexpression will now be part of the top-level AND/OR structureand so deserves to be simplified. The real-world impact of this isprobably minimal, since it'd require at least three levels of NOT to makea difference, but it's still a bug.Also remove some redundant tests for NULL subexpressions.1 parent80f6c35 commit284e473
1 file changed
+10
-19
lines changedLines changed: 10 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 | 170 |
| |
174 | 171 |
| |
175 | 172 |
| |
| |||
204 | 201 |
| |
205 | 202 |
| |
206 | 203 |
| |
207 |
| - | |
208 |
| - | |
209 |
| - | |
210 |
| - | |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 | 204 |
| |
217 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
218 | 211 |
| |
219 | 212 |
| |
220 | 213 |
| |
| |||
256 | 249 |
| |
257 | 250 |
| |
258 | 251 |
| |
259 |
| - | |
| 252 | + | |
| 253 | + | |
260 | 254 |
| |
261 |
| - | |
| 255 | + | |
262 | 256 |
| |
263 | 257 |
| |
264 | 258 |
| |
265 | 259 |
| |
266 | 260 |
| |
267 |
| - | |
| 261 | + | |
268 | 262 |
| |
269 | 263 |
| |
270 | 264 |
| |
| |||
303 | 297 |
| |
304 | 298 |
| |
305 | 299 |
| |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 | 300 |
| |
310 | 301 |
| |
311 | 302 |
| |
|
0 commit comments
Comments
(0)