summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-04 23:43:21 +0000
committerJeremy Allison <jra@samba.org>2003-02-04 23:43:21 +0000
commitbfcdd6eed3d3e9dca7ef45793562703a951ead25 (patch)
tree7fb5fd5384c0b75467da12a2574ffc3bc0083627
parent0716caac8bde5e3d7d19e80c7345096f94edad89 (diff)
downloadsamba-bfcdd6eed3d3e9dca7ef45793562703a951ead25.tar.gz
samba-bfcdd6eed3d3e9dca7ef45793562703a951ead25.tar.bz2
samba-bfcdd6eed3d3e9dca7ef45793562703a951ead25.zip
Up the hash table size for printing tdb.c
Jeremy. (This used to be commit 5f13d6b4a009a02c5d5ef9f806f0eb4b52cfe70c)
-rw-r--r--source3/printing/printing_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing_db.c b/source3/printing/printing_db.c
index ec33daea1a..0aa8dfafa5 100644
--- a/source3/printing/printing_db.c
+++ b/source3/printing/printing_db.c
@@ -95,7 +95,7 @@ struct tdb_print_db *get_print_db_byname(const char *printername)
done_become_root = True;
}
- p->tdb = tdb_open_log(printdb_path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
+ p->tdb = tdb_open_log(printdb_path, 5000, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
if (done_become_root)
unbecome_root();