forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0a21c6d
committed
Fix minor bug in isolationtester.
If the lock wait query failed, isolationtester would report thePQerrorMessage from some other connection, meaning there would beno message or an unrelated one. This seems like a pretty unlikelyoccurrence, but if it did happen, this bug could make it reallydifficult/confusing to figure out what happened. That seems tojustify patching all the way back.In passing, clean up another place where the "wrong" conn was usedfor an error report. That one's not actually buggy because it'sa different alias for the same connection, but it's still confusingto the reader.1 parentdb4f9c0 commit0a21c6d
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
594 | 594 |
| |
595 | 595 |
| |
596 | 596 |
| |
597 |
| - | |
| 597 | + | |
598 | 598 |
| |
599 | 599 |
| |
600 | 600 |
| |
| |||
743 | 743 |
| |
744 | 744 |
| |
745 | 745 |
| |
746 |
| - | |
| 746 | + | |
747 | 747 |
| |
748 | 748 |
| |
749 | 749 |
| |
|
0 commit comments
Comments
(0)