Actions
Bug #52001
closedlibcephsqlite: CheckReservedLock the result will always be zero
% Done:
0%
Source:
Development
Tags:
backport_processed
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
This method is used to check if the file holds reserved lock or above. But the result is always set to zero no matter what the current locking status is.
if (lock > SQLITE_LOCK_SHARED) {
*result = 1;
}
df(10);
f->io.rs->print_lockers(*_dout);
*_dout << dendl;
*result = 0;
Actions