mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
refs #123 Touch the pair regardless of TOKUDB_TRY_AGAIN, to make the
clock behavior more consistent with the rest of the code.
This commit is contained in:
parent
8664a78ebb
commit
bd5111d7c5
1 changed files with 1 additions and 3 deletions
|
@ -2038,9 +2038,7 @@ maybe_pin_pair(
|
||||||
if (retval == TOKUDB_TRY_AGAIN) {
|
if (retval == TOKUDB_TRY_AGAIN) {
|
||||||
unpin_pair(p, (lock_type == PL_READ));
|
unpin_pair(p, (lock_type == PL_READ));
|
||||||
}
|
}
|
||||||
else {
|
pair_touch(p);
|
||||||
pair_touch(p);
|
|
||||||
}
|
|
||||||
pair_unlock(p);
|
pair_unlock(p);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue