Issue Details (XML | Word | Printable)

Key: CORE-3489
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: John Kilin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Blob transliteration may not happen inside the union

Created: 23/May/11 10:20 AM   Updated: 27/Mar/14 12:39 PM
Component/s: Engine
Affects Version/s: 2.5.0
Fix Version/s: 2.5.1, 3.0 Alpha 1

Time Tracking:
Not Specified

Issue Links:
Relate
 

Planning Status: Unspecified


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.