FirebirdSQL / firebird

Firebird server, client and tools
https://firebirdsql.org
1.26k stars 217 forks source link

CAST() ignores collation of target data type #8249

Closed aafemt closed 1 month ago

aafemt commented 2 months 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 2 months ago

This is a regression introduced in #7748