The branch, master has been updated
       via  bbb4068 dbwrap: Use tdb_null in db_ctdb_delete
      from  30adf0c scripting: Fill the ProvisionNames hash with strings, not 
ldb.MessageElement or Dn

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


- Log -----------------------------------------------------------------
commit bbb4068c933ecc043025633a13c62bf04eaf6d49
Author: Volker Lendecke <[email protected]>
Date:   Sat Nov 24 14:51:02 2012 +0000

    dbwrap: Use tdb_null in db_ctdb_delete
    
    Signed-off-by: Volker Lendecke <[email protected]>
    Reviewed-by: Christian Ambach <[email protected]>
    
    Autobuild-User(master): Christian Ambach <[email protected]>
    Autobuild-Date(master): Mon Mar 25 19:42:30 CET 2013 on sn-devel-104

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

Summary of changes:
 source3/lib/dbwrap/dbwrap_ctdb.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index a6f49b8..399c850 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -912,7 +912,6 @@ static NTSTATUS db_ctdb_send_schedule_for_deletion(struct 
db_record *rec)
 
 static NTSTATUS db_ctdb_delete(struct db_record *rec)
 {
-       TDB_DATA data;
        NTSTATUS status;
 
        /*
@@ -920,9 +919,7 @@ static NTSTATUS db_ctdb_delete(struct db_record *rec)
         * tdb-level cleanup
         */
 
-       ZERO_STRUCT(data);
-
-       status = db_ctdb_store(rec, data, 0);
+       status = db_ctdb_store(rec, tdb_null, 0);
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }


-- 
Samba Shared Repository

Reply via email to