From c3348f77b921dae5a400232a08e24f6cce072424 Mon Sep 17 00:00:00 2001 From: asfernandes Date: Sun, 14 May 2006 14:32:43 +0000 Subject: [PATCH] Fix problem when trimming not-nullable blobs --- src/dsql/make.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dsql/make.cpp b/src/dsql/make.cpp index 4d87c58f56..7e9c7b8d0c 100644 --- a/src/dsql/make.cpp +++ b/src/dsql/make.cpp @@ -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;