fix timestamp bug

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1716 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2006-11-10 03:06:06 +00:00
parent 39ae1ce717
commit cbe55c9fbb

View File

@ -4126,6 +4126,11 @@ EraseLogUpdCl(LogUpdClause *clau)
} else {
/* OK, there's noone left */
ap->TimeStampOfPred = 0L;
if (ap->cs.p_code.NOfClauses == 1) {
LogUpdClause *cl = ClauseCodeToLogUpdClause(ap->cs.p_code.FirstClause);
cl->ClTimeStart = 0;
cl->ClTimeEnd = ~0L;
}
/* fprintf(stderr,"- %x--%d--%ul\n",ap,ap->TimeStampOfPred,ap->ArityOfPE);*/
ap->LastCallOfPred = LUCALL_ASSERT;
}