mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 08:03:04 +01:00
Fixed bug CORE-6447 : SET SQLDA_DISPLAY ON: different text of message for parameterized expression starting from second run
This commit is contained in:
parent
e3eaeed238
commit
b1c2329ae1
@ -45,6 +45,7 @@ public:
|
||||
};
|
||||
|
||||
MetadataFromBlr::MetadataFromBlr(unsigned aBlrLength, const unsigned char* aBlr, unsigned aLength)
|
||||
: MsgMetadata()
|
||||
{
|
||||
if (aBlrLength == 0)
|
||||
return;
|
||||
@ -248,7 +249,7 @@ InternalMessageBuffer::InternalMessageBuffer(unsigned aBlrLength, const unsigned
|
||||
{
|
||||
buffer = aBuffer;
|
||||
|
||||
if (aBlr)
|
||||
if (aBlr && aBlrLength)
|
||||
{
|
||||
metadata = FB_NEW MetadataFromBlr(aBlrLength, aBlr, aBufferLength);
|
||||
metadata->addRef();
|
||||
|
Loading…
Reference in New Issue
Block a user