- Notifications
You must be signed in to change notification settings - Fork5
Commit8ee2e5f
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 parent3f14d8d commit8ee2e5f
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
215 |
| - | |
| 215 | + | |
216 | 216 |
| |
217 | 217 |
| |
218 | 218 |
| |
| |||
1405 | 1405 |
| |
1406 | 1406 |
| |
1407 | 1407 |
| |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
1408 | 1415 |
| |
1409 | 1416 |
| |
1410 | 1417 |
| |
|
0 commit comments
Comments
(0)