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:
parent
feac996794
commit
54f47c45b8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user