Browse Source

tdb2: increment seqnum on tdb_wipe_all in tdb1 backend.

Rusty Russell 14 years ago
parent
commit
79dee5018a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ccan/tdb2/tdb1_tdb.c

+ 1 - 0
ccan/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;