Changeset: 19cb4f961948 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/19cb4f961948
Modified Files:
        sql/backends/monet5/rel_physical.c
Branch: pp_hashjoin
Log Message:

Also put a crossproduct with a base table into a 'ref' so that we can generate a
complete buildhash pp block for it, otherwise it causes a pp block to be started
in the (pseudo) "build hash" stage without an ending, which is then picked up
by the "probe" stage.


diffs (12 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
@@ -548,7 +548,7 @@ static sql_rel *
 rel_buildhash(visitor *v, sql_rel *rel, sql_rel **iprj, bool crossproduct)
 {
        if (crossproduct && rel->op == op_basetable) {
-               return rel;
+               return rel_dup(rel);
        }
        /* Inplace for hash sharing */
        sql_rel *r = rel_create(v->sql->sa);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to