Changeset: 8b76e871d5d0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8b76e871d5d0
Modified Files:
monetdb5/modules/mal/projectionpath.c
Branch: default
Log Message:
Avoid unwanted decref upon error encountered
diffs (15 lines):
diff --git a/monetdb5/modules/mal/projectionpath.c
b/monetdb5/modules/mal/projectionpath.c
--- a/monetdb5/modules/mal/projectionpath.c
+++ b/monetdb5/modules/mal/projectionpath.c
@@ -30,10 +30,10 @@ ALGprojectionpath(Client cntxt, MalBlkPt
if (b == NULL) {
error = 1;
} else {
- joins[top++] = b;
if (i + 1 < pci->argc && ATOMtype(b->ttype) !=
TYPE_oid) {
error = 1;
}
+ else joins[top++] = b;
}
if (error) {
while (top-- > 0)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list