- Notifications
You must be signed in to change notification settings - Fork5
Commit52f0fc7
committed
GIN's ItemPointerIsMin, ItemPointerIsMax, and ItemPointerIsLossyPage macros
should use GinItemPointerGetBlockNumber/GinItemPointerGetOffsetNumber,not ItemPointerGetBlockNumber/ItemPointerGetOffsetNumber, because the latterwill Assert() on ip_posid == 0, ie a "Min" pointer. (Thus, ItemPointerIsMinhas never worked at all, but it seems unused at present.) I'm not certainthat the case can occur in normal functioning, but it's blowing up on mewhile investigating Tatsuo-san's data corruption problem. In any case itseems like a problem waiting to bite someone.Back-patch just in case this really is a problem for somebody in the field.1 parent8b78428 commit52f0fc7
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
128 |
| - | |
| 127 | + | |
| 128 | + | |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
133 |
| - | |
| 132 | + | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
138 |
| - | |
| 137 | + | |
| 138 | + | |
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
|
0 commit comments
Comments
(0)