- Notifications
You must be signed in to change notification settings - Fork5
Commit294c34b
committed
Fix rounding problem in dynahash.c's decision about when the target
fill factor has been exceeded. We usually run with ffactor == 1, butthe way the test was coded, it wouldn't split a bucket until the actualfill factor reached 2.0, because of use of integer division. Changefrom > to >= so that it will split more aggressively when the tablestarts to get full.1 parent7f1711f commit294c34b
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
662 | 662 |
| |
663 | 663 |
| |
664 | 664 |
| |
665 |
| - | |
| 665 | + | |
666 | 666 |
| |
667 | 667 |
| |
668 | 668 |
| |
|
0 commit comments
Comments
(0)