Changeset: 8f08d7b1970c for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/8f08d7b1970c Modified Files: monetdb5/modules/atoms/batxml.c sql/backends/monet5/sql.c Branch: Jul2021 Log Message:
fix optimized compilation with lock stats diffs (33 lines): diff --git a/monetdb5/modules/atoms/batxml.c b/monetdb5/modules/atoms/batxml.c --- a/monetdb5/modules/atoms/batxml.c +++ b/monetdb5/modules/atoms/batxml.c @@ -477,7 +477,7 @@ BATXMLoptions(bat *ret, const char * con str buf = GDKmalloc(BUFSIZ); str val = GDKmalloc(BUFSIZ); size_t size = BUFSIZ, len = strlen(*name); - BATiter bi; + BATiter bi = (BATiter) { .b = NULL }; const char *err = OPERATION_FAILED " During bulk options analysis"; if (val == NULL || buf == NULL) { @@ -1230,7 +1230,7 @@ static const char * BATxmlaggr(BAT **bnp, BAT *b, BAT *g, BAT *e, BAT *s, int skip_nils) { BAT *bn = NULL, *t1, *t2 = NULL; - BATiter bi; + BATiter bi = (BATiter) { .b = NULL }; oid min, max; BUN ngrp; BUN nils = 0; diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c --- a/sql/backends/monet5/sql.c +++ b/sql/backends/monet5/sql.c @@ -930,7 +930,7 @@ mvc_bat_next_get_value(Client cntxt, Mal sql_schema *s = NULL; sql_sequence *seq = NULL; seqbulk *sb = NULL; - BATiter bi, ci; + BATiter bi = (BATiter) { .b = NULL }, ci = (BATiter) { .b = NULL }; bat *res = getArgReference_bat(stk, pci, 0); bat schid = 0, seqid = 0; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list