forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7de3874
committed
Remove usage of &PL_sv_undef in hashes and arrays
According to perlguts, &PL_sv_undef is not the right thing to use inthose cases because it doesn't behave the same way as an undef value viaPerl code. Seems the intuitive way to deal with undef values is subtlyenough broken that it's hard to notice when misused.The broken uses got inadvertently introduced in commit87bb2ad by Alexey Klyukin, AlexHunsaker and myself on 2011-02-17; no backpatch is necessary.Per testing report from Greg Mullane.Author: Alex Hunsaker1 parent6fa7975 commit7de3874
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1357 | 1357 |
| |
1358 | 1358 |
| |
1359 | 1359 |
| |
1360 |
| - | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
1361 | 1367 |
| |
1362 | 1368 |
| |
1363 | 1369 |
| |
| |||
2639 | 2645 |
| |
2640 | 2646 |
| |
2641 | 2647 |
| |
2642 |
| - | |
2643 |
| - | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
2644 | 2654 |
| |
2645 | 2655 |
| |
2646 | 2656 |
| |
|
0 commit comments
Comments
(0)