Changeset: 66bc99221b2e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/66bc99221b2e
Modified Files:
sql/backends/monet5/rel_bin.c
sql/backends/monet5/sql_statement.h
sql/include/sql_relation.h
Branch: default
Log Message:
Cleaned 'argument_independence' parameter. Is no longer used
diffs (38 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
@@ -1291,9 +1291,7 @@ exp_bin(backend *be, sql_exp *e, stmt *l
list_append(l, es);
}
}
- stmt* args = stmt_list(be, l);
- args->argument_independence = e->argument_independence;
- if (!(s = stmt_Nop(be, args, sel, f, rows)))
+ if (!(s = stmt_Nop(be, stmt_list(be, l), sel, f, rows)))
return NULL;
} break;
case e_aggr: {
diff --git a/sql/backends/monet5/sql_statement.h
b/sql/backends/monet5/sql_statement.h
--- a/sql/backends/monet5/sql_statement.h
+++ b/sql/backends/monet5/sql_statement.h
@@ -120,8 +120,7 @@ typedef struct stmt {
aggr:1, /* aggregated */
partition:1, /* selected as mitosis candidate */
reduce:1, /* used to reduce number of rows (also for
joins) */
- loop:1, /* cond statement is looping */
- argument_independence:1; /*list statement represents a list of
function call arguments which are independent of the inner project relation. */
+ loop:1; /* cond statement is looping */
struct stmt *cand; /* optional candidate list */
diff --git a/sql/include/sql_relation.h b/sql/include/sql_relation.h
--- a/sql/include/sql_relation.h
+++ b/sql/include/sql_relation.h
@@ -52,7 +52,6 @@ typedef struct expression {
nulls_last:1, /* return null after all other rows */
zero_if_empty:1, /* in case of partial aggregator computation,
some aggregators need to return 0 instead of NULL */
distinct:1,
- argument_independence:1, /* for a function expression, the arguments
are independent of the inner project relation. */
semantics:1, /* is vs = semantics (nil = nil vs unknown != unknown),
ranges with or without nil, aggregation with or without nil */
need_no_nil:1,
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]