8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00

Fixed CORE-5982: Error read permission for BLOB field, when it is input/output procedure's parameter

This commit is contained in:
Dmitry Starodubov 2019-01-21 11:35:42 +03:00 committed by Alexander Peshkov
parent 54726d8d2a
commit ed932c856d

View File

@ -9592,7 +9592,7 @@ dsc* ParameterNode::execute(thread_db* tdbb, jrd_req* request) const
if (!blobId->isEmpty())
{
if (!request->hasInternalStatement())
tdbb->getTransaction()->checkBlob(tdbb, blobId, NULL, true);
tdbb->getTransaction()->checkBlob(tdbb, blobId, NULL, false);
if (desc->getCharSet() != CS_NONE && desc->getCharSet() != CS_BINARY)
{