mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:43:03 +01:00
Misc.
This commit is contained in:
parent
4651901db5
commit
787f3fd8aa
@ -526,7 +526,7 @@ static bool startTransaction(Firebird::ITransaction** t, unsigned len = 0, const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return DB;
|
return DB != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool M_Transaction()
|
static bool M_Transaction()
|
||||||
|
@ -668,13 +668,14 @@ static bool copy_blob( qli_nod* value, qli_par* parameter)
|
|||||||
|
|
||||||
// We've got a blob copy on our hands.
|
// We've got a blob copy on our hands.
|
||||||
|
|
||||||
if ((!from_desc) || UserBlob::blobIsNull(*(ISC_QUAD*) from_desc->dsc_address)
|
if (!from_desc || UserBlob::blobIsNull(*(ISC_QUAD*) from_desc->dsc_address) ||
|
||||||
|| (from_desc->dsc_missing & DSC_missing))
|
(from_desc->dsc_missing & DSC_missing))
|
||||||
{
|
{
|
||||||
memset(to_desc->dsc_address, 0, sizeof(ISC_QUAD));
|
memset(to_desc->dsc_address, 0, sizeof(ISC_QUAD));
|
||||||
to_desc->dsc_missing |= DSC_missing;
|
to_desc->dsc_missing |= DSC_missing;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
to_desc->dsc_missing &= ~DSC_missing;
|
to_desc->dsc_missing &= ~DSC_missing;
|
||||||
|
|
||||||
// Format blob parameter block for the existing blob
|
// Format blob parameter block for the existing blob
|
||||||
|
Loading…
Reference in New Issue
Block a user