User collate doesn't work with blobs
------------------------------------

                 Key: CORE-5341
                 URL: http://tracker.firebirdsql.org/browse/CORE-5341
             Project: Firebird Core
          Issue Type: Bug
          Components: Charsets/Collation
    Affects Versions: 3.0.1, 4.0 Alpha 1
            Reporter: Alex Bekhtin


create collation PXW_CYRL_CI_AI for WIN1251
   from PXW_CYRL
   CASE INSENSITIVE
   ACCENT INSENSITIVE;

with A(val) as(
  select cast('update' as blob sub_type text) from rdb$database
  union all
  select 'UPDATE' from rdb$database
)
select * from A where val collate PXW_CYRL_CI_AI like '%update%'

FB 2.5 - two record
FB 3.0, 4.0 - only one record

-- 
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

        

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to