Changeset: b7cbcc7083c4 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b7cbcc7083c4 Modified Files: monetdb5/modules/mal/remote.mx Branch: default Log Message:
Avoid division by 0 for emtry bats. diffs (12 lines): diff --git a/monetdb5/modules/mal/remote.mx b/monetdb5/modules/mal/remote.mx --- a/monetdb5/modules/mal/remote.mx +++ b/monetdb5/modules/mal/remote.mx @@ -1360,7 +1360,7 @@ /* for strings, the width may not match, fix it to match what we * retrieved */ - if (bb.Ttype == TYPE_str) + if (bb.Ttype == TYPE_str && bb.size) b->T->width = bb.tailsize / bb.size; if (bb.headsize > 0) _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list