- Notifications
You must be signed in to change notification settings - Fork28
Commit57379cd
committed
Fix thinkos from4f4061b for libpq integer parsing
A check was redundant. While on it, add an assertion to make sure thatthe parsing routine is never called with a NULL input. All the codepaths currently calling the parsing routine are careful with NULL inputsalready, but future callers may forget that.Reported-by: Peter Eisentraut, Lars KanisDiscussion:https://postgr.es/m/ec64956b-4597-56b6-c3db-457d15250fe4@2ndquadrant.comBackpatch-through: 121 parente3db3f8 commit57379cd
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1696 | 1696 |
| |
1697 | 1697 |
| |
1698 | 1698 |
| |
| 1699 | + | |
| 1700 | + | |
1699 | 1701 |
| |
1700 | 1702 |
| |
1701 | 1703 |
| |
| |||
1713 | 1715 |
| |
1714 | 1716 |
| |
1715 | 1717 |
| |
1716 |
| - | |
| 1718 | + | |
1717 | 1719 |
| |
1718 | 1720 |
| |
1719 |
| - | |
| 1721 | + | |
1720 | 1722 |
| |
1721 | 1723 |
| |
1722 | 1724 |
| |
|
0 commit comments
Comments
(0)