forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2d63c96
committed
Stop reading uninitialized memory in heap_inplace_lock().
Stop computing a never-used value. This removes the read; the read hadno functional implications. Back-patch to v12, like commita07e03f.Reported by Alexander Lakhin.Discussion:https://postgr.es/m/6c92f59b-f5bc-e58c-9bdd-d1f21c17c786@gmail.com1 parentad88b20 commit2d63c96
File tree
3 files changed
+33
-2
lines changed- src
- backend/access/heap
- test/isolation
- expected
- specs
3 files changed
+33
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6118 | 6118 |
| |
6119 | 6119 |
| |
6120 | 6120 |
| |
6121 |
| - | |
6122 | 6121 |
| |
6123 | 6122 |
| |
6124 |
| - | |
| 6123 | + | |
6125 | 6124 |
| |
6126 | 6125 |
| |
6127 | 6126 |
| |
|
Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
66 | 90 |
| |
67 | 91 |
| |
68 | 92 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
99 | 107 |
| |
100 | 108 |
| |
101 | 109 |
| |
|
0 commit comments
Comments
(0)