* brian m. carlson: > Berkeley DB creates a btree database even though hash is requested, and > moreover, it does so silently. > > Steps to reproduce: > > * gcc foo.c -ldb > * rm -fr /tmp/db > * ./a.out /tmp/db > * db5.1_stat -d /tmp/db/openpgp | grep Btree
Please try again with the -s option: | If the database contains multiple databases and the -s flag is not | specified, the statistics are for the internal database that | describes the other databases the file contains, and not for the | file as a whole. Is there any particular reasony why you want to use hash databases? They are rarely better than B-tree databases. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org