forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit23cb326
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 parentb0bdc3f commit23cb326
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
207 |
| - | |
| 207 | + | |
208 | 208 |
| |
209 | 209 |
| |
210 | 210 |
| |
| |||
1274 | 1274 |
| |
1275 | 1275 |
| |
1276 | 1276 |
| |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1277 | 1284 |
| |
1278 | 1285 |
| |
1279 | 1286 |
| |
|
0 commit comments
Comments
(0)