Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed CORE-3306 - Invariant sub-query is treated as variant thus caus…
…ing multiple invokations of a nested stored procedure
  • Loading branch information
asfernandes committed Jan 10, 2011
1 parent a80f446 commit 8f20258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jrd/RecordSourceNodes.h
Expand Up @@ -372,9 +372,9 @@ class ProcedureSourceNode : public TypedNode<RecordSourceNode, RecordSourceNode:
virtual RecordSourceNode* pass2(thread_db* tdbb, CompilerScratch* csb);
virtual void pass2Rse(thread_db* tdbb, CompilerScratch* csb);

virtual bool containsStream(USHORT /*checkStream*/) const
virtual bool containsStream(USHORT checkStream) const
{
return false;
return checkStream == stream;
}

virtual void computeDbKeyStreams(UCHAR* /*streams*/) const
Expand Down

0 comments on commit 8f20258

Please sign in to comment.