Don't do alock recovery in readonly mode since we didn't do BDB recovery

This commit is contained in:
Howard Chu 2009-05-03 00:49:35 +00:00
parent 87e2ad347b
commit a7fe6266d8

View 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;
}