]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Using 1 for a tdb hash size makes for slow inserts....
authorJeremy Allison <jra@samba.org>
Thu, 27 Jun 2002 00:13:20 +0000 (00:13 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 27 Jun 2002 00:13:20 +0000 (00:13 +0000)
Jeremy.

source/libsmb/unexpected.c

index f74a05f75f29ab3d01026ce7692bcdfdc45268ce..4fc391448101431fea01849eb663a1fcef6808e8 100644 (file)
@@ -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) {