From da27c770467d7e0494fbea70d5e424e76851819f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 26 Mar 2008 10:50:08 +0100 Subject: use tdb_wipe_all() instead of tdb_wipe() - it is faster... Michael (This used to be commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0) --- source3/lib/sharesec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/sharesec.c') 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); -- cgit