summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/intl/lang_tdb.c2
-rw-r--r--source3/lib/sharesec.c2
-rw-r--r--source3/printing/printing.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/intl/lang_tdb.c b/source3/intl/lang_tdb.c
index 4e4a3a5e20..499b9eb87d 100644
--- a/source3/intl/lang_tdb.c
+++ b/source3/intl/lang_tdb.c
@@ -45,7 +45,7 @@ static bool load_msg(const char *msg_file)
}
/* wipe the db */
- tdb_wipe(tdb);
+ tdb_wipe_all(tdb);
msgid = NULL;
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);
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);