Changeset: 34c243aca822 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/34c243aca822
Modified Files:
sql/backends/monet5/rel_bin.c
Branch: recursive_cte
Log Message:
small compilation fixes
diffs (21 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
@@ -3902,7 +3902,7 @@ rel2bin_distinct(backend *be, stmt *s, s
static stmt *
rel2bin_single(backend *be, stmt *s)
{
- if (s->key && s->nrcols == 0)
+ if (!s || (s->key && s->nrcols == 0))
return s;
mvc *sql = be->mvc;
@@ -4055,7 +4055,7 @@ static stmt *
rel2bin_recursive_munion(backend *be, sql_rel *rel, list *refs, sql_rel *topn)
{
mvc *sql = be->mvc;
- stmt *rel_stmt = NULL, *sub;
+ stmt *rel_stmt = NULL, *sub = NULL;
int nr_unions = list_length((list*)rel->l);
if (nr_unions != 2)
return sql_error(sql, 10, SQLSTATE(27000) "UNION: recursive
unions need a base and recusive part");
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]