FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.23k stars 212 forks source link

CAST() ignores collation of target data type #8249

Open aafemt opened 1 week ago

aafemt commented 1 week ago
          @aafemt this change introduced a problem making this query work:
select cast('x' as varchar(10) character set utf8 collate wrong) from rdb$database;

Originally posted by @asfernandes in https://github.com/FirebirdSQL/firebird/issues/7748#issuecomment-2342463807

asfernandes commented 1 week ago

This is a regression introduced in #7748