ITS#6012 don't abort NULL txns (blind fix)

This commit is contained in:
Howard Chu 2009-03-17 18:09:40 +00:00
parent 4b078ab617
commit ba75a865d7

View File

@ -1482,7 +1482,7 @@ bdb_reader_free( void *key, void *data )
/* DB_ENV *env = key; */
DB_TXN *txn = data;
TXN_ABORT( txn );
if ( txn ) TXN_ABORT( txn );
}
/* free up any keys used by the main thread */