Changeset: ce502c02621c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ce502c02621c
Modified Files:
        sql/backends/monet5/rel_bin.c
Branch: default
Log Message:

could be local ref, ie check current psub.


diffs (12 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
@@ -4768,6 +4768,8 @@ rel2bin_project(backend *be, sql_rel *re
                                break;
                        /* create group by */
                        stmt *gbcol = exp_bin(be, gbe, sub, NULL, NULL, NULL, 
NULL, NULL, 0, 0, 0);
+                       if (!gbcol)
+                               gbcol = exp_bin(be, gbe, psub, NULL, NULL, 
NULL, NULL, NULL, 0, 0, 0);
 
                        if (!gbcol) {
                                assert(sql->session->status == -10); /* Stack 
overflow errors shouldn't terminate the server */
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to