mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +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 DB;
|
||||
return DB != NULL;
|
||||
}
|
||||
|
||||
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.
|
||||
|
||||
if ((!from_desc) || UserBlob::blobIsNull(*(ISC_QUAD*) from_desc->dsc_address)
|
||||
|| (from_desc->dsc_missing & DSC_missing))
|
||||
if (!from_desc || UserBlob::blobIsNull(*(ISC_QUAD*) from_desc->dsc_address) ||
|
||||
(from_desc->dsc_missing & DSC_missing))
|
||||
{
|
||||
memset(to_desc->dsc_address, 0, sizeof(ISC_QUAD));
|
||||
to_desc->dsc_missing |= DSC_missing;
|
||||
return true;
|
||||
}
|
||||
|
||||
to_desc->dsc_missing &= ~DSC_missing;
|
||||
|
||||
// Format blob parameter block for the existing blob
|
||||
|
Loading…
Reference in New Issue
Block a user