Check for opinfo->boi_txn before using it - sometimes it is NULL even if

opinfo isn't
This commit is contained in:
Luke Howard 2004-08-26 10:17:53 +00:00
parent 400458c9c5
commit 8d1f26b7b6

View file

@ -534,7 +534,7 @@ bdb_do_search( Operation *op, SlapReply *rs, Operation *sop,
}
}
if ( opinfo ) {
if ( opinfo && opinfo->boi_txn ) {
ltid = opinfo->boi_txn;
locker = TXN_ID( ltid );
} else {