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

fix small compilation issue


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
@@ -1863,6 +1863,8 @@ exp_bin(backend *be, sql_exp *e, stmt *l
                                                orderby_ids = stmt_result(be, 
orderby, 1);
                                                orderby_grp = stmt_result(be, 
orderby, 2);
                                        }
+                                       if (!orderby_ids)
+                                               return NULL;
                                        /* depending on type of aggr project 
input or ordered column */
                                        for (node *n = l->h; n; n = n->next)
                                                n->data = stmt_project(be, 
orderby_ids, n->data);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to