Skip to content

Commit

Permalink
Test after exists CE bug
Browse files Browse the repository at this point in the history
git-svn-id: https://clipsrules.svn.sourceforge.net/svnroot/clipsrules@93 b3187f35-aa44-0410-a219-a43ecd7132bf
  • Loading branch information
garyriley committed Jan 19, 2012
1 parent d2eb811 commit ca3539c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/drive.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,16 @@ globle void NetworkAssertLeft(
{ EngineData(theEnv)->leftToRightSucceeds++; }
#endif
}

// Bug Fix - Need to evaluate secondary network test for exists CE 0881

if ((join->secondaryNetworkTest != NULL) && exprResult && join->patternIsExists)
{
EngineData(theEnv)->GlobalRHSBinds = rhsBinds;
exprResult = EvaluateJoinExpression(theEnv,join->secondaryNetworkTest,join);
if (EvaluationData(theEnv)->EvaluationError)
{ SetEvaluationError(theEnv,FALSE); }
}

/*====================================================*/
/* If the join expression evaluated to TRUE (i.e. */
Expand Down

0 comments on commit ca3539c

Please sign in to comment.