- Notifications
You must be signed in to change notification settings - Fork5
Commit8f4a369
committed
Fix crash bug in RestoreSnapshot.
If serialized_snapshot->subxcnt > 0 and serialized_snapshot->xcnt == 0,the old coding would do the wrong thing and crash. This can happenon standby servers.Report by Andreas Seltenreich. Patch by Thomas Munro, reviewed byAmit Kapila and tested by Andreas Seltenreich.1 parent8caf9fe commit8f4a369
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1573 | 1573 |
| |
1574 | 1574 |
| |
1575 | 1575 |
| |
1576 |
| - | |
| 1576 | + | |
| 1577 | + | |
1577 | 1578 |
| |
1578 | 1579 |
| |
1579 | 1580 |
| |
|
0 commit comments
Comments
(0)