Changeset: d948b7b6e43d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d948b7b6e43d
Modified Files:
sql/server/rel_unnest.c
Branch: default
Log Message:
in the anyequal rewriter check if the right expression's subquery has another
function the
depth is incremented.
diffs (13 lines):
diff --git a/sql/server/rel_unnest.c b/sql/server/rel_unnest.c
--- a/sql/server/rel_unnest.c
+++ b/sql/server/rel_unnest.c
@@ -2632,6 +2632,9 @@ rewrite_anyequal(visitor *v, sql_rel *re
return NULL;
re = rsq->exps->t->data;
+ if (!is_tuple && is_func(re->type))
+ depth++;
+
if (rsq && lsq)
exp_set_freevar(sql, re, rsq);
if (!is_tuple && !is_freevar(re)) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list