8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:03:02 +01:00
This commit is contained in:
asfernandes 2015-04-21 19:26:27 +00:00
parent 1fdf3644c5
commit ed36387e0b

View File

@ -614,7 +614,7 @@ static bool isPermanentBlob(const dsc& src)
void InternalStatement::putExtBlob(thread_db* tdbb, dsc& src, dsc& dst)
{
if (isPermanentBlob(src) || m_transaction->getScope() == traCommon && m_intConnection.isCurrent())
if (isPermanentBlob(src) || (m_transaction->getScope() == traCommon && m_intConnection.isCurrent()))
MOV_move(tdbb, &src, &dst);
else
Statement::putExtBlob(tdbb, src, dst);
@ -625,7 +625,7 @@ void InternalStatement::getExtBlob(thread_db* tdbb, const dsc& src, dsc& dst)
fb_assert(dst.dsc_length == src.dsc_length);
fb_assert(dst.dsc_length == sizeof(bid));
if (isPermanentBlob(src) || m_transaction->getScope() == traCommon && m_intConnection.isCurrent())
if (isPermanentBlob(src) || (m_transaction->getScope() == traCommon && m_intConnection.isCurrent()))
memcpy(dst.dsc_address, src.dsc_address, sizeof(bid));
else
Statement::getExtBlob(tdbb, src, dst);