forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc02aae4
committed
Fix "pg_bench -C -M prepared".
This didn't work because when we dropped and re-established a databaseconnection, we did not bother to reset session-specific state such asthe statements-are-prepared flags.The st->prepared[] array certainly needs to be flushed, and I cleared acouple of other fields as well that couldn't possibly retain meaningfulstate for a new connection.In passing, fix some bogus comments and strange field order choices.Per report from Robins Tharakan.1 parentcfc5357 commitc02aae4
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 |
| - | |
| 204 | + | |
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
| |||
1115 | 1115 |
| |
1116 | 1116 |
| |
1117 | 1117 |
| |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
1118 | 1123 |
| |
1119 | 1124 |
| |
1120 | 1125 |
| |
|
0 commit comments
Comments
(0)