[SCM] Samba Shared Repository - branch master updated

Rusty Russell rusty at samba.org
Tue Aug 16 02:48:01 MDT 2011


The branch, master has been updated
       via  ee720fc tdb: increment sequence number in tdb_wipe_all().
      from  689f42a s3:registry: enhance debugging of deletekey_recursive

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ee720fc19cebf9108711429dfe25ccaf192e2c7e
Author: Rusty Russell <rusty at rustcorp.com.au>
Date:   Tue Aug 16 16:47:03 2011 +0930

    tdb: increment sequence number in tdb_wipe_all().
    
    TDB2 testing revealed that tdb1 doesn't do this.  It's minor, but fix it.
    
    Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
    
    Autobuild-User: Rusty Russell <rusty at rustcorp.com.au>
    Autobuild-Date: Tue Aug 16 10:47:41 CEST 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/tdb/common/tdb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tdb/common/tdb.c b/lib/tdb/common/tdb.c
index 66be555..3a3c99c 100644
--- 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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list