mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
refs #5672 add invariant to do_partial_fetch
git-svn-id: file:///svn/toku/tokudb@50536 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
6da3b56c57
commit
cfea900e2f
1 changed files with 1 additions and 0 deletions
|
@ -1187,6 +1187,7 @@ do_partial_fetch(
|
|||
assert(!p->dirty);
|
||||
|
||||
pair_lock(p);
|
||||
invariant(p->value_rwlock.writers());
|
||||
nb_mutex_lock(&p->disk_nb_mutex, p->mutex);
|
||||
pair_unlock(p);
|
||||
int r = pf_callback(p->value_data, p->disk_data, read_extraargs, cachefile->fd, &new_attr);
|
||||
|
|
Loading…
Add table
Reference in a new issue