summaryrefslogtreecommitdiff
path: root/lib/tdb2
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 08:09:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 08:09:13 +0930
commitb30bb0ed903a49a9a81d0418211e4f985eca20ab (patch)
tree8e2096e2ef53ff35de87c9018833653f5c0bbb59 /lib/tdb2
parentf1a3ffe24a504f445b09269a165501439bc9da98 (diff)
downloadsamba-b30bb0ed903a49a9a81d0418211e4f985eca20ab.tar.gz
samba-b30bb0ed903a49a9a81d0418211e4f985eca20ab.tar.bz2
samba-b30bb0ed903a49a9a81d0418211e4f985eca20ab.zip
tdb2: increment seqnum on tdb_wipe_all in tdb1 backend.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 79dee5018a407be1d0674d6108b60f8e8c882b7c)
Diffstat (limited to 'lib/tdb2')
-rw-r--r--lib/tdb2/tdb1_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tdb2/tdb1_tdb.c b/lib/tdb2/tdb1_tdb.c
index 0e3cc13cab..98f830cc9a 100644
--- a/lib/tdb2/tdb1_tdb.c
+++ b/lib/tdb2/tdb1_tdb.c
@@ -786,6 +786,7 @@ int tdb1_wipe_all(struct tdb_context *tdb)
}
}
+ tdb1_increment_seqnum_nonblock(tdb);
tdb_unlockall(tdb);
return 0;