Changeset: 900b05bca800 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/900b05bca800 Modified Files: sql/server/rel_statistics_functions.c Branch: Aug2024 Log Message:
Add a cast. diffs (12 lines): diff --git a/sql/server/rel_statistics_functions.c b/sql/server/rel_statistics_functions.c --- a/sql/server/rel_statistics_functions.c +++ b/sql/server/rel_statistics_functions.c @@ -604,7 +604,7 @@ sql_day_propagate_statistics(mvc *sql, s set_minmax_property(sql, e, PROP_MAX, atom_int(sql->sa, sql_bind_localtype(localtype), nmax)); set_minmax_property(sql, e, PROP_MIN, atom_int(sql->sa, sql_bind_localtype(localtype), nmin)); prop *p = e->p = prop_create(sql->sa, PROP_NUNIQUES, e->p); - p->value.dval = nmax - nmin + 1; + p->value.dval = (dbl) (nmax - nmin + 1); } static void _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org