Blob transliteration may not happen inside the union
----------------------------------------------------

                 Key: CORE-3489
                 URL: http://tracker.firebirdsql.org/browse/CORE-3489
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.0
            Reporter: Dmitry Yemanov


Test case (database and connection charset is win1251):

create or alter procedure p_test
returns (
   rresult blob sub_type 1 segment size 80 character set unicode_fss)
AS
begin
 rresult= 'Тест'; -- text in cp1251
 suspend;
end 

select rresult
from p_test
union
select rresult
from p_test

The field value is not transliterated. But if a sub-query is executed 
separately (without union), then the field value is transliterated properly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to