Changeset: 214b544cefb7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/214b544cefb7
Modified Files:
sql/backends/monet5/bin_partition_by_slice.c
Branch: pp_hashjoin
Log Message:
use correct types
diffs (21 lines):
diff --git a/sql/backends/monet5/bin_partition_by_slice.c
b/sql/backends/monet5/bin_partition_by_slice.c
--- a/sql/backends/monet5/bin_partition_by_slice.c
+++ b/sql/backends/monet5/bin_partition_by_slice.c
@@ -243,7 +243,7 @@ rel_groupby_prepare_pp(list **aggrresult
return NULL;
append(*serializedresults, s);
if (need_distinct) { /* create
shared bat, for hash table */
- int estimate =
exp_getcard(be->mvc, rel->l /* count before group by */, e);
+ lng estimate =
exp_getcard(be->mvc, rel->l /* count before group by */, e);
if (estimate<0) {
assert(0);
estimate =
85000000;
@@ -303,7 +303,7 @@ rel_groupby_prepare_pp(list **aggrresult
list *el = e->l;
sql_exp *a = el->h->data;
sql_subtype *t = exp_subtype(a);
- int estimate = exp_getcard(be->mvc, rel->l /*
count before group by */, a);
+ lng estimate = exp_getcard(be->mvc, rel->l /*
count before group by */, a);
if (estimate<0) {
assert(0);
estimate = 85000000;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]