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
@ -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