8
0
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:
dimitr 2011-03-05 17:25:12 +00:00
parent f03e36853f
commit 4be14cbad9

View File

@ -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