forgot to undo this - this idea did not work, because records cannot reference themselves.

This commit is contained in:
Bernhard Amann 2012-03-18 10:52:23 -07:00
parent bf597012f8
commit aa6026c1a7

View file

@ -898,7 +898,7 @@ void Manager::EndCurrentSend(ReaderFrontend* reader) {
Ref(predidx);
Ref(val);
bool result = CallPred(filter->pred, 4, filter->description->Ref(), ev, predidx, val);
bool result = CallPred(filter->pred, 3, ev, predidx, val);
if ( result == false ) {
// Keep it. Hence - we quit and simply go to the next entry of lastDict
@ -1154,7 +1154,7 @@ bool Manager::Delete(ReaderFrontend* reader, Value* *vals) {
int startpos = 0;
Val* predidx = ValueToRecordVal(vals, filter->itype, &startpos);
filterresult = CallPred(filter->pred, 4, filter->description->Ref(), ev, predidx, val);
filterresult = CallPred(filter->pred, 3, ev, predidx, val);
if ( filterresult == false ) {
// keep it.