mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Got the bugger. Eric's now passing in a hint structure to dbopen()
but forgot to zero the structure first, leaving hinfo.bsize undefined and causing a loop in __log2().
This commit is contained in:
parent
42eacfd392
commit
0bf57c683e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19891
@ -312,6 +312,7 @@ main(argc, argv)
|
||||
#ifdef NEWDB
|
||||
case T_HASH:
|
||||
/* tweak some parameters for performance */
|
||||
bzero(&hinfo, sizeof(hinfo));
|
||||
hinfo.nelem = 4096;
|
||||
hinfo.cachesize = dbcachesize;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user