Changeset: 2347e6614386 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2347e6614386 Modified Files: clients/mapilib/mapi.c Branch: default Log Message:
Be specific about the error situtation. diffs (21 lines): diff --git a/clients/mapilib/mapi.c b/clients/mapilib/mapi.c --- a/clients/mapilib/mapi.c +++ b/clients/mapilib/mapi.c @@ -2551,7 +2551,7 @@ mapi_start_talking(Mapi mid) /* consume server challenge */ len = mnstr_read_block(mid->from, buf, 1, BLOCK); - check_stream(mid, mid->from, "Connection terminated", "mapi_start_talking", (mid->blk.eos = 1, mid->error)); + check_stream(mid, mid->from, "Connection terminated while starting", "mapi_start_talking", (mid->blk.eos = 1, mid->error)); assert(len < BLOCK); @@ -3441,7 +3441,7 @@ read_line(Mapi mid) if (mid->trace == MAPI_TRACE) printf("fetch next block: start at:%d\n", mid->blk.end); len = mnstr_read(mid->from, mid->blk.buf + mid->blk.end, 1, BLOCK); - check_stream(mid, mid->from, "Connection terminated", "read_line", (mid->blk.eos = 1, (char *) 0)); + check_stream(mid, mid->from, "Connection terminated during read line", "read_line", (mid->blk.eos = 1, (char *) 0)); if (mid->tracelog) { mapi_log_header(mid, "R"); mnstr_write(mid->tracelog, mid->blk.buf + mid->blk.end, 1, len); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list