- Notifications
You must be signed in to change notification settings - Fork5
Commit30df79a
committed
Widen the nLocks counts in local lock tables from int to int64. This
forestalls potential overflow when the same table (or other object, butusually tables) is accessed by very many successive queries within a singletransaction. Per report from Michael Milligan.Back-patch to 8.0, which is as far back as the patch conveniently applies.There have been no reports of overflow in pre-8.3 releases, but clearly therisk existed all along. (Michael's report suggests that 8.3 may consume lockcounts faster than prior releases, but with no test case to look at it's hardto be sure about that. Widening the counts seems a good future-proofingmeasure in any event.)1 parent8948ee3 commit30df79a
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
391 | 391 |
| |
392 | 392 |
| |
393 | 393 |
| |
394 |
| - | |
| 394 | + | |
395 | 395 |
| |
396 | 396 |
| |
397 | 397 |
| |
| |||
403 | 403 |
| |
404 | 404 |
| |
405 | 405 |
| |
406 |
| - | |
| 406 | + | |
407 | 407 |
| |
408 | 408 |
| |
409 | 409 |
| |
|
0 commit comments
Comments
(0)