git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tdb: increment sequence number in tdb_wipe_all().
[ira/wip.git]
/
lib
/
tdb
/
common
/
tdb.c
diff --git
a/lib/tdb/common/tdb.c
b/lib/tdb/common/tdb.c
index 66be555a067aa5c2db3d8a3671c215acaf07ba56..3a3c99c553f1ba01f824a313325d90d22030295b 100644
(file)
--- a/
lib/tdb/common/tdb.c
+++ b/
lib/tdb/common/tdb.c
@@
-886,6
+886,8
@@
_PUBLIC_ int tdb_wipe_all(struct tdb_context *tdb)
}
}
+ tdb_increment_seqnum_nonblock(tdb);
+
if (tdb_unlockall(tdb) != 0) {
TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_wipe_all: failed to unlock\n"));
goto failed;