Skip to content

Commit

Permalink
Fixed CORE-4006 - Using a result from a procedure in a substring expr…
Browse files Browse the repository at this point in the history
…ession leads to server crash.
  • Loading branch information
asfernandes committed Dec 7, 2012
1 parent 7012311 commit da61724
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dsql/ExprNodes.cpp
Expand Up @@ -5348,6 +5348,7 @@ void FieldNode::getDesc(thread_db* tdbb, CompilerScratch* csb, dsc* desc)
else
{
*desc = format->fmt_desc[fieldId];
desc->dsc_address = NULL;

// Fix UNICODE_FSS wrong length used in system tables.
jrd_rel* relation = csb->csb_rpt[fieldStream].csb_relation;
Expand Down

0 comments on commit da61724

Please sign in to comment.