Changeset: ecd2ccdff8ee for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ecd2ccdff8ee Modified Files: tools/monetdbe/monetdbe.c Branch: Oct2020 Log Message:
fixed crash in monetdbe_append, ie reset bat base pointer before BBPreclaim diffs (12 lines): diff --git a/tools/monetdbe/monetdbe.c b/tools/monetdbe/monetdbe.c --- a/tools/monetdbe/monetdbe.c +++ b/tools/monetdbe/monetdbe.c @@ -1206,6 +1206,8 @@ monetdbe_append(monetdbe_database dbhdl, BATsettrivprop(bn); if (store_funcs.append_col(m->session->tr, c, bn, TYPE_bat) != 0) { + bn->theap.base = prev_base; + bn->theap.size = prev_size; BBPreclaim(bn); mdbe->msg = createException(SQL, "monetdbe.monetdbe_append", "Cannot append BAT"); goto cleanup; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list