Changeset: 27280c62d39c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/27280c62d39c
Modified Files:
sql/backends/monet5/rel_bin.c
Branch: Oct2020
Log Message:
Check for candidate list only if subrel_bin call succeeded. This fixes bug #7087
diffs (14 lines):
diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -3296,9 +3296,9 @@ rel2bin_select(backend *be, sql_rel *rel
if (rel->l) { /* first construct the sub relation */
sub = subrel_bin(be, rel->l, refs);
- sel = sub->cand;
if (!sub)
return NULL;
+ sel = sub->cand;
sub = row2cols(be, sub);
}
if (!sub && !predicate)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list