8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 08:03:03 +01:00

Fix problem when trimming not-nullable blobs

This commit is contained in:
asfernandes 2006-05-14 14:32:43 +00:00
parent 8c37df3176
commit c3348f77b9

View File

@ -537,7 +537,10 @@ void MAKE_desc(dsql_req* request, dsc* desc, dsql_nod* node, dsql_nod* null_repl
desc2.dsc_flags = 0;
if (desc1.dsc_dtype == dtype_blob)
{
*desc = desc1;
desc->dsc_flags |= (desc1.dsc_flags | desc2.dsc_flags) & DSC_nullable;
}
else if (desc1.dsc_dtype <= dtype_any_text)
{
*desc = desc1;