Changeset: 4bbf60a4e03a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4bbf60a4e03a
Modified Files:
sql/server/rel_bin.c
Branch: Oct2012
Log Message:
missing part of fix for bug 3209 (no propagation need, is allready in Feb2013
and up)
diffs (18 lines):
diff --git a/sql/server/rel_bin.c b/sql/server/rel_bin.c
--- a/sql/server/rel_bin.c
+++ b/sql/server/rel_bin.c
@@ -1429,6 +1429,14 @@ rel2bin_join( mvc *sql, sql_rel *rel, li
prop *p;
/* only handle simple joins here */
+ if (exp_has_func(e)) {
+ if (!join && !list_length(jns)) {
+ stmt *l = bin_first_column(sql->sa,
left);
+ stmt *r = bin_first_column(sql->sa,
right);
+ join = stmt_join(sql->sa, l,
stmt_reverse(sql->sa, r), cmp_all);
+ }
+ break;
+ }
if (list_length(jns) && (idx || e->type != e_cmp ||
e->flag != cmp_equal))
break;
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list