forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf1d8dd3
committed
Code review for logical decoding patch.
Post-commit review identified a number of places where addition wasused instead of multiplication or memory wasn't zeroed where it shouldhave been. This commit also fixes one case where a structure memberwas mis-initialized, and moves another memory allocation closer tothe place where the allocated storage is used for clarity.Andres Freund1 parentb2dada8 commitf1d8dd3
File tree
2 files changed
+10
-14
lines changed- src/backend/replication/logical
2 files changed
+10
-14
lines changedLines changed: 5 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2064 | 2064 |
| |
2065 | 2065 |
| |
2066 | 2066 |
| |
2067 |
| - | |
2068 |
| - | |
| 2067 | + | |
| 2068 | + | |
2069 | 2069 |
| |
2070 | 2070 |
| |
2071 | 2071 |
| |
2072 | 2072 |
| |
2073 | 2073 |
| |
2074 |
| - | |
2075 |
| - | |
| 2074 | + | |
| 2075 | + | |
2076 | 2076 |
| |
2077 | 2077 |
| |
2078 | 2078 |
| |
| |||
2168 | 2168 |
| |
2169 | 2169 |
| |
2170 | 2170 |
| |
2171 |
| - | |
2172 |
| - | |
2173 |
| - | |
2174 | 2171 |
| |
2175 | 2172 |
| |
2176 | 2173 |
| |
2177 | 2174 |
| |
2178 | 2175 |
| |
2179 |
| - | |
| 2176 | + | |
2180 | 2177 |
| |
2181 | 2178 |
| |
2182 | 2179 |
| |
|
Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
307 | 307 |
| |
308 | 308 |
| |
309 | 309 |
| |
310 |
| - | |
311 |
| - | |
| 310 | + | |
312 | 311 |
| |
313 | 312 |
| |
314 | 313 |
| |
| |||
1691 | 1690 |
| |
1692 | 1691 |
| |
1693 | 1692 |
| |
1694 |
| - | |
| 1693 | + | |
1695 | 1694 |
| |
1696 | 1695 |
| |
1697 | 1696 |
| |
| |||
1705 | 1704 |
| |
1706 | 1705 |
| |
1707 | 1706 |
| |
1708 |
| - | |
| 1707 | + | |
1709 | 1708 |
| |
1710 | 1709 |
| |
1711 | 1710 |
| |
| |||
1763 | 1762 |
| |
1764 | 1763 |
| |
1765 | 1764 |
| |
1766 |
| - | |
| 1765 | + | |
1767 | 1766 |
| |
1768 | 1767 |
| |
1769 |
| - | |
| 1768 | + | |
1770 | 1769 |
| |
1771 | 1770 |
| |
1772 | 1771 |
| |
|
0 commit comments
Comments
(0)