05.03.2017 16:59, Adriano dos Santos Fernandes wrote:
> Wasn't VARBINARY a syntatic sugar for VARCHAR CHARACTER SET OCTETS?

   It was supposed to be so. But one little thing make difference: subtype.

> It looks like if things works different (even in a non ideal condition),
> there is a bug in the new code.

   Not quite so. Old code in GPRE (for unknown reason) checks subtype of 
varchar fields as 
if they were BLOBs and generate blr_cstring for subtype 0 and blr_text for 
anything else.


-- 
   WBR, SD.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to