- Notifications
You must be signed in to change notification settings - Fork5
Commite68be16
committed
Do not allow *timestamp to be passed as NULL
The code had bugs that would cause crashes if NULL was passed as thatargument (originally intended to mean not to bother returning itsvalue), and after inspection it turns out that nothing seems interestedin the case that *ts is NULL anyway. Therefore, remove the partialchecks intended to support that case.Author: Michael Paquierthough I didn't include a proposed Assert.Backpatch to 9.5.1 parent8c3d63c commite68be16
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
255 |
| - | |
256 |
| - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
257 | 259 |
| |
258 | 260 |
| |
259 | 261 |
| |
| |||
294 | 296 |
| |
295 | 297 |
| |
296 | 298 |
| |
297 |
| - | |
298 |
| - | |
| 299 | + | |
299 | 300 |
| |
300 | 301 |
| |
301 | 302 |
| |
| |||
312 | 313 |
| |
313 | 314 |
| |
314 | 315 |
| |
315 |
| - | |
316 |
| - | |
| 316 | + | |
317 | 317 |
| |
318 | 318 |
| |
319 | 319 |
| |
| |||
330 | 330 |
| |
331 | 331 |
| |
332 | 332 |
| |
333 |
| - | |
334 |
| - | |
| 333 | + | |
335 | 334 |
| |
336 | 335 |
| |
337 | 336 |
| |
|
0 commit comments
Comments
(0)