Changeset: 783b75b88b74 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/783b75b88b74
Modified Files:
sql/backends/monet5/rel_physical.c
Branch: pp_hashjoin
Log Message:
small fix for looking up cardinality during physical plan generation
diffs (16 lines):
diff --git a/sql/backends/monet5/rel_physical.c
b/sql/backends/monet5/rel_physical.c
--- a/sql/backends/monet5/rel_physical.c
+++ b/sql/backends/monet5/rel_physical.c
@@ -62,10 +62,10 @@ rel_getcount(mvc *sql, sql_rel *rel)
}
return 1;
default:
+ if (rel->p && find_prop(rel->p, PROP_COUNT))
+ return get_rel_count(rel);
if (rel->l)
return rel_getcount(sql, rel->l);
- if (rel->p)
- return get_rel_count(rel);
return 0;
}
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]