summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-26 10:50:08 +0100
committerMichael Adam <obnox@samba.org>2008-03-26 10:50:35 +0100
commitda27c770467d7e0494fbea70d5e424e76851819f (patch)
treefb5bdc94d4e441acf96960a08847e7d07304fbe7 /source3/lib
parent6efe4873dcaa78520840a57264881d7b47036b91 (diff)
downloadsamba-da27c770467d7e0494fbea70d5e424e76851819f.tar.gz
samba-da27c770467d7e0494fbea70d5e424e76851819f.tar.bz2
samba-da27c770467d7e0494fbea70d5e424e76851819f.zip
use tdb_wipe_all() instead of tdb_wipe() - it is faster...
Michael (This used to be commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sharesec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index 60f6e5077b..5a8984f4f0 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -65,7 +65,7 @@ static bool share_info_db_init(void)
}
if (vers_id != SHARE_DATABASE_VERSION_V2) {
- tdb_wipe(share_tdb);
+ tdb_wipe_all(share_tdb);
tdb_store_int32(share_tdb, vstring, SHARE_DATABASE_VERSION_V2);
}
tdb_unlock_bystring(share_tdb, vstring);