summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-06-27 00:13:20 +0000
committerJeremy Allison <jra@samba.org>2002-06-27 00:13:20 +0000
commitcb8dcb0b60d0bdd13ef20cad9784d783c62775dd (patch)
tree6589a939309bae8d9907ab40c9db1aa85c4f2212 /source3/libsmb
parent1aff36d92375bdde5905943be98b9ba26538a29e (diff)
downloadsamba-cb8dcb0b60d0bdd13ef20cad9784d783c62775dd.tar.gz
samba-cb8dcb0b60d0bdd13ef20cad9784d783c62775dd.tar.bz2
samba-cb8dcb0b60d0bdd13ef20cad9784d783c62775dd.zip
Using 1 for a tdb hash size makes for slow inserts....
Jeremy. (This used to be commit d015c08100bf467e3f83143586a234989eca1a49)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/unexpected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index f74a05f75f..4fc3914481 100644
--- a/source3/libsmb/unexpected.c
+++ b/source3/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) {