Changeset: 4006d33a91e0 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4006d33a91e0
Modified Files:
monetdb5/modules/mal/tokenizer.c
Branch: Jan2022
Log Message:
Fix for 5f213eef5840.
diffs (12 lines):
diff --git a/monetdb5/modules/mal/tokenizer.c b/monetdb5/modules/mal/tokenizer.c
--- a/monetdb5/modules/mal/tokenizer.c
+++ b/monetdb5/modules/mal/tokenizer.c
@@ -411,7 +411,7 @@ TKNZRdepositFile(void *r, str *fnme)
throw(MAL, "tokenizer.depositFile", SQLSTATE(HY013)
MAL_MALLOC_FAIL);
}
while (bstream_read(bs, bs->size - (bs->len - bs->pos)) != 0 &&
- !mnstr_errnr(bs->s) != MNSTR_NO__ERROR)
+ mnstr_errnr(bs->s) == MNSTR_NO__ERROR)
{
s = bs->buf;
for (t = s; *t;) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]