forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd033e17
committed
Ethernet MAC addresses (macaddr type) are not compared correctly for
equality. The lobits macro is wrong and extracts the wrong set ofbits out of the structure.To exhibit the problem:select '000000:000000'::macaddr = '000000:110000'::macaddr ;?column?--------t(1 row)Daniel Boyd1 parent7585deb commitd033e17
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 |
| - | |
| 135 | + | |
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
|
0 commit comments
Comments
(0)