]> git.sur5r.net Git - openldap/commitdiff
Don't do alock recovery in readonly mode since we didn't do BDB recovery
authorHoward Chu <hyc@openldap.org>
Sun, 3 May 2009 00:49:35 +0000 (00:49 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 3 May 2009 00:49:35 +0000 (00:49 +0000)
servers/slapd/back-bdb/init.c

index 02ab2271de60d9804a9b80f1e5287096541ada8d..653d0e9e782e5b2c6fb90f9b24a3ba028ed56dc1 100644 (file)
@@ -223,6 +223,7 @@ bdb_db_open( BackendDB *be, ConfigReply *cr )
                        "Run manual recovery if errors are encountered.\n",
                        be->be_suffix[0].bv_val, 0, 0 );
                do_recover = 0;
+               do_alock_recover = 0;
                quick = alockt;
        }