diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 08:09:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 08:09:13 +0930 |
commit | b30bb0ed903a49a9a81d0418211e4f985eca20ab (patch) | |
tree | 8e2096e2ef53ff35de87c9018833653f5c0bbb59 /lib/tdb2 | |
parent | f1a3ffe24a504f445b09269a165501439bc9da98 (diff) | |
download | samba-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.c | 1 |
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; |