forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfa26eba
committed
Improve logic in PostgresVersion.pm
Handle the situation where perl swaps the order of operands ofthe comparison operator. See `perldoc overload` for details:The third argument is set to TRUE if (and only if) the twooperands have been swapped. Perl may do this to ensure that thefirst argument ($self) is an object implementing the overloadedoperation, in line with general object calling conventions.1 parent0c8f408 commitfa26eba
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 |
| - | |
| 113 | + | |
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
| 117 | + | |
| 118 | + | |
117 | 119 |
| |
118 | 120 |
| |
119 | 121 |
| |
|
0 commit comments
Comments
(0)