Commit 83a7637
committed
Reset conn->errorReported when PQrequestCancel sets errorMessage.
Oversight in commit 618c167. This is mainly neatnik-ism, since
if PQrequestCancel is used per its API contract, we should perform
pqClearConnErrorState before reaching any place that would consult
errorReported. But still, it seems like a bad idea to potentially
leave errorReported pointing past errorMessage.len.1 parent 1c6d462 commit 83a7637
1 file changed
+4
-0
lines changed| 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