summaryrefslogtreecommitdiff
path: root/source3/printing
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/printing
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/printing')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index c9736b70bb..4c2f7b9627 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -202,7 +202,7 @@ bool print_backend_init(struct messaging_context *msg_ctx)
return False;
}
if (tdb_fetch_int32(pdb->tdb, sversion) != PRINT_DATABASE_VERSION) {
- tdb_wipe(pdb->tdb);
+ tdb_wipe_all(pdb->tdb);
tdb_store_int32(pdb->tdb, sversion, PRINT_DATABASE_VERSION);
}
tdb_unlock_bystring(pdb->tdb, sversion);