Browse Source

refs #5351 fix an overactive assert. just ignore the bit for now because the lock request layer does not know that write locks do not realy exist.

git-svn-id: file:///svn/toku/tokudb@49962 c7de825b-a66e-492c-adef-691d508d4ae1
pull/73/head
John Esmet 13 years ago
committed by Yoni Fogel
parent
commit
b15afefe89
  1. 4
      locktree/locktree.cc

4
locktree/locktree.cc

@ -239,8 +239,8 @@ int locktree::acquire_write_lock(TXNID txnid,
void locktree::get_conflicts(bool is_write_request, TXNID txnid,
const DBT *left_key, const DBT *right_key, txnid_set *conflicts) {
// we are only support write locks for simplicity
invariant(is_write_request);
// because we only support write locks, ignore this bit for now.
(void) is_write_request;
// preparing and acquire a locked keyrange over the range
keyrange range;

Loading…
Cancel
Save