Skip to content

Commit

Permalink
MDEV-6807: InnoDB: Assertion failure in file lock0lock.cc (lock != ct…
Browse files Browse the repository at this point in the history
…x->wait_lock)

Merged patch for lp:1364840.
  • Loading branch information
Nirbhay Choubey committed Oct 4, 2014
1 parent 9a57de8 commit b197066
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions storage/innobase/lock/lock0lock.cc
Expand Up @@ -2122,9 +2122,6 @@ lock_rec_create(
return(lock);
}
trx_mutex_exit(c_lock->trx);
} else if (wsrep_thd_is_BF(trx->mysql_thd, FALSE)) {
HASH_PREPEND(lock_t, hash, lock_sys->rec_hash,
lock_rec_fold(space, page_no), lock);
} else {
HASH_INSERT(lock_t, hash, lock_sys->rec_hash,
lock_rec_fold(space, page_no), lock);
Expand Down
3 changes: 0 additions & 3 deletions storage/xtradb/lock/lock0lock.cc
Expand Up @@ -2133,9 +2133,6 @@ lock_rec_create(
return(lock);
}
trx_mutex_exit(c_lock->trx);
} else if (wsrep_thd_is_BF(trx->mysql_thd, FALSE)) {
HASH_PREPEND(lock_t, hash, lock_sys->rec_hash,
lock_rec_fold(space, page_no), lock);
} else {
HASH_INSERT(lock_t, hash, lock_sys->rec_hash,
lock_rec_fold(space, page_no), lock);
Expand Down

0 comments on commit b197066

Please sign in to comment.