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:
Jordan K. Hubbard 1996-11-20 07:53:42 +00:00
parent 42eacfd392
commit 0bf57c683e

View File

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