forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit83a7637
committed
Reset conn->errorReported when PQrequestCancel sets errorMessage.
Oversight in commit618c167. This is mainly neatnik-ism, sinceif PQrequestCancel is used per its API contract, we should performpqClearConnErrorState before reaching any place that would consulterrorReported. But still, it seems like a bad idea to potentiallyleave errorReported pointing past errorMessage.len.1 parent1c6d462 commit83a7637
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4687 | 4687 |
| |
4688 | 4688 |
| |
4689 | 4689 |
| |
| 4690 | + | |
4690 | 4691 |
| |
4691 | 4692 |
| |
4692 | 4693 |
| |
| |||
4706 | 4707 |
| |
4707 | 4708 |
| |
4708 | 4709 |
| |
| 4710 | + | |
4709 | 4711 |
| |
| 4712 | + | |
| 4713 | + | |
4710 | 4714 |
| |
4711 | 4715 |
| |
4712 | 4716 |
| |
|
0 commit comments
Comments
(0)