[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3841) alock throws assertion with slapo-glue



> production config file. I'll try to look into what's different between the

The difference between production and test011 is a DB_CONFIG file, so
BDB_HAS_CONFIG (as opposed to 0 on the repro case), making operator
precedence come into play.

--- init.c      Wed Jul 13 15:29:06 2005
+++ init.c      Thu Jul 14 17:13:14 2005
@@ -547,7 +541,7 @@
        bdb_idl_cache_entry_t *entry, *next_entry;

        /* backend_shutdown closes everything, even if not all were opened */
-       if ( !bdb->bi_flags & BDB_IS_OPEN )
+       if ( !( bdb->bi_flags & BDB_IS_OPEN ))
                return 0;

        bdb->bi_flags &= ~BDB_IS_OPEN;