ITS#4738 provisional fix, still needs confirmation

This commit is contained in:
Howard Chu 2006-11-13 00:24:59 +00:00
parent 7703e7e3a9
commit bd95f8ab1c

View File

@ -770,7 +770,9 @@ load1:
#endif
ep = NULL;
}
bdb_cache_entryinfo_lock( *eip );
(*eip)->bei_state ^= CACHE_ENTRY_LOADING;
bdb_cache_entryinfo_unlock( *eip );
if ( rc == 0 ) {
/* If we succeeded, downgrade back to a readlock. */
rc = bdb_cache_entry_db_relock( bdb->bi_dbenv, locker,