Changeset: 9cb280af4d69 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9cb280af4d69
Modified Files:
        clients/src/mapiclient/mclient.mx
Branch: Jun2010
Log Message:

In case of write error, keep reading data from server.
This fixes the double "2 tuples" in utf8test.


diffs (14 lines):

diff -r 0f7709ff742a -r 9cb280af4d69 clients/src/mapiclient/mclient.mx
--- a/clients/src/mapiclient/mclient.mx Fri Sep 17 10:45:49 2010 +0200
+++ b/clients/src/mapiclient/mclient.mx Fri Sep 17 12:59:54 2010 +0200
@@ -1010,8 +1010,8 @@
        if (mark2)
                free(mark2);
        mark2 = NULL;
-       while (!stream_errnr(toConsole) && (fields = fetch_row(hdl)) != 0) {
-               if (silent)
+       while ((fields = fetch_row(hdl)) != 0) {
+               if (silent || stream_errnr(toConsole))
                        continue;
                if (len == 0 || fields != oldfields) {
                        if (oldfields != fields) {
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to