- Notifications
You must be signed in to change notification settings - Fork5
Commitf9a1ea6
committed
Obviously noone has ever tested the doubling of availiable result ids
up toreaching the hard limit. After opening 16(=current REST_START value)results via pg_exec, the next pg_exec tries to find an empty slotforever :-( . In PgSetResultId file pgtclId.c in the for loop therehas to be done a break, if res_max ist reached. The piece of codeshould look like if (resid == connid->res_max) { resid = 0; break; /* the break as to be added */ }now everything works (double available results after reachingRES_START up to reaching RES_HARD_MAX)Gerhard Hintermayer1 parent2816141 commitf9a1ea6
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
| 346 | + | |
346 | 347 |
| |
| 348 | + | |
| 349 | + | |
347 | 350 |
| |
348 | 351 |
| |
349 | 352 |
| |
|
0 commit comments
Comments
(0)