From 2fde15281bdd887e803a68a8a8796edb167350ca Mon Sep 17 00:00:00 2001 From: asfernandes Date: Fri, 10 Jun 2005 02:01:39 +0000 Subject: [PATCH] Only initialize metadata BLOB charset for text BLOBs --- src/jrd/ini.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/ini.epp b/src/jrd/ini.epp index 30bacbe5c4..66ceb99d6a 100644 --- a/src/jrd/ini.epp +++ b/src/jrd/ini.epp @@ -536,7 +536,7 @@ void INI_init(void) desc->dsc_length = gfield->gfld_length; desc->dsc_dtype = gfield->gfld_dtype; desc->dsc_sub_type = gfield->gfld_sub_type; - if (desc->dsc_dtype == dtype_blob) + if (desc->dsc_dtype == dtype_blob && desc->dsc_sub_type == isc_blob_text) desc->dsc_scale = CS_METADATA; // blob charset jrd_fld* field = FB_NEW(*dbb->dbb_permanent) jrd_fld(*dbb->dbb_permanent);