Skip to content

Commit

Permalink
Fixed CORE-4710: invalid request BLR at offset 361 context already in…
Browse files Browse the repository at this point in the history
… use (BLR error).
  • Loading branch information
dyemanov committed Jul 14, 2015
1 parent 020126e commit 4929f46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jrd/RecordSourceNodes.cpp
Expand Up @@ -1336,6 +1336,9 @@ void AggregateSourceNode::genBlr(DsqlCompilerScratch* dsqlScratch)
ValueListNode* partitionRemapped = (*i)->partitionRemapped;
ValueListNode* order = (*i)->order;

if ((*i)->context > MAX_UCHAR)
ERRD_post(Arg::Gds(isc_too_many_contexts));

dsqlScratch->appendUChar((*i)->context);

if (partition)
Expand Down

0 comments on commit 4929f46

Please sign in to comment.