Changeset: 33e3f321948d for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=33e3f321948d Modified Files: monetdb5/extras/dvf/opt_dvf.c Branch: DVframework Log Message:
dvf: bug fixed. Remove sql.delta as well while removing the delta binds for actual data table. diffs (26 lines): diff --git a/monetdb5/extras/dvf/opt_dvf.c b/monetdb5/extras/dvf/opt_dvf.c --- a/monetdb5/extras/dvf/opt_dvf.c +++ b/monetdb5/extras/dvf/opt_dvf.c @@ -653,6 +653,22 @@ OPTdvfImplementation(Client cntxt, MalBl actions += 2; } + else if((state == 3) && + getModuleId(p) == sqlRef && + getFunctionId(p) == deltaRef && + p->argc == 5 && + p->retc == 1 && + last_bind_return_var_id == getArg(p, 1)) + { + r = newInstruction(mb, ASSIGNsymbol); + r = pushReturn(mb, r, getArg(p, 0)); + r = pushArgument(mb, r, last_bind_return_var_id); + + insertInstruction(mb, r, i+1); + removeInstruction(mb, p); + + actions += 2; + } else if((state == 3) && getModuleId(p) == sqlRef && getFunctionId(p) == subdeltaRef && _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list