1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r373: use a much larger default tdb hash size in ldb

This commit is contained in:
Andrew Tridgell 2004-04-27 07:10:16 +00:00 committed by Gerald (Jerry) Carter
parent feac996794
commit 54f47c45b8

View File

@ -524,7 +524,8 @@ struct ldb_context *ltdb_connect(const char *url,
open_flags = O_CREAT | O_RDWR;
}
tdb = tdb_open(path, 0, tdb_flags, open_flags, 0666);
/* note that we use quite a large default hash size */
tdb = tdb_open(path, 10000, tdb_flags, open_flags, 0666);
if (!tdb) {
return NULL;
}