mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:03:03 +01:00
Fixed incorrect WITH LOCK handling (refactoring error).
This commit is contained in:
parent
f03e36853f
commit
4be14cbad9
@ -92,12 +92,10 @@ bool FilteredStream::getRecord(thread_db* tdbb) const
|
||||
|
||||
bool FilteredStream::refetchRecord(thread_db* tdbb) const
|
||||
{
|
||||
if (m_next->refetchRecord(tdbb))
|
||||
{
|
||||
return evaluateBoolean(tdbb);
|
||||
}
|
||||
jrd_req* const request = tdbb->getRequest();
|
||||
|
||||
return false;
|
||||
return m_next->refetchRecord(tdbb) &&
|
||||
m_boolean->execute(tdbb, request);
|
||||
}
|
||||
|
||||
bool FilteredStream::lockRecord(thread_db* tdbb) const
|
||||
|
Loading…
Reference in New Issue
Block a user