mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 17:23:03 +01:00
Fix for #8249 - CAST() ignores collation of target data type
This commit is contained in:
parent
5e5ae686b7
commit
aa167e2b36
@ -3559,7 +3559,7 @@ ValueExprNode* CastNode::dsqlPass(DsqlCompilerScratch* dsqlScratch)
|
||||
node->dsqlField = dsqlField;
|
||||
node->format = format;
|
||||
|
||||
DDL_resolve_intl_type(dsqlScratch, node->dsqlField, NULL);
|
||||
DDL_resolve_intl_type(dsqlScratch, node->dsqlField, node->dsqlField->collate);
|
||||
node->setParameterType(dsqlScratch, NULL, false);
|
||||
|
||||
DsqlDescMaker::fromField(&node->castDesc, node->dsqlField);
|
||||
|
Loading…
Reference in New Issue
Block a user