From: Jeremy Allison Date: Thu, 27 Jun 2002 00:13:20 +0000 (+0000) Subject: Using 1 for a tdb hash size makes for slow inserts.... X-Git-Tag: samba-3.0.0alpha18~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d015c08100bf467e3f83143586a234989eca1a49;p=thirdparty%2Fsamba.git Using 1 for a tdb hash size makes for slow inserts.... Jeremy. --- diff --git a/source/libsmb/unexpected.c b/source/libsmb/unexpected.c index f74a05f75f2..4fc39144810 100644 --- a/source/libsmb/unexpected.c +++ b/source/libsmb/unexpected.c @@ -46,7 +46,7 @@ void unexpected_packet(struct packet_struct *p) int len=0; if (!tdbd) { - tdbd = tdb_open_log(lock_path("unexpected.tdb"), 1, + tdbd = tdb_open_log(lock_path("unexpected.tdb"), 0, TDB_CLEAR_IF_FIRST|TDB_DEFAULT, O_RDWR | O_CREAT, 0644); if (!tdbd) {