[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Tue Apr 7 12:30:02 UTC 2020


The branch, master has been updated
       via  d1f4002b914 lib ldb: lmdb init var before calling mdb_reader_check
      from  f8f3d7954da ctdb-vacuum: Reschedule vacuum event if VacuumInterval has increased

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


- Log -----------------------------------------------------------------
commit d1f4002b914efb31aa34a59e7c93d80f3174727c
Author: Gary Lockyer <gary at catalyst.net.nz>
Date:   Wed Apr 1 08:22:08 2020 +1300

    lib ldb: lmdb init var before calling mdb_reader_check
    
    Initilalise "stale" to zero before passing a pointer to it to
    mdb_reader_check.
    
    Signed-off-by: Gary Lockyer <gary at catalyst.net.nz>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Tue Apr  7 12:29:00 UTC 2020 on sn-devel-184

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

Summary of changes:
 lib/ldb/ldb_mdb/ldb_mdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/lib/ldb/ldb_mdb/ldb_mdb.c b/lib/ldb/ldb_mdb/ldb_mdb.c
index 1187aba578a..f0a418d07ee 100644
--- a/lib/ldb/ldb_mdb/ldb_mdb.c
+++ b/lib/ldb/ldb_mdb/ldb_mdb.c
@@ -645,7 +645,7 @@ static int lmdb_transaction_start(struct ldb_kv_private *ldb_kv)
 	 * Clear out any stale readers
 	 */
 	{
-		int stale;
+		int stale = 0;
 		mdb_reader_check(lmdb->env, &stale);
 		if (stale > 0) {
 			ldb_debug(


-- 
Samba Shared Repository



More information about the samba-cvs mailing list