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

make sure we won't get stale "truncated fields" messages from a previous result 
set


diffs (19 lines):

diff -r db4f9bd0c1e1 -r f2d72d297b9c clients/src/mapiclient/mclient.mx
--- a/clients/src/mapiclient/mclient.mx Thu Aug 26 13:53:02 2010 +0200
+++ b/clients/src/mapiclient/mclient.mx Thu Aug 26 14:44:44 2010 +0200
@@ -1088,6 +1088,7 @@
        if (mark2)
                free(mark2);
        mark2 = NULL;
+       croppedfields = 0;
        while (!mnstr_errnr(toConsole) && (fields = fetch_row(hdl)) != 0) {
                if (silent)
                        continue;
@@ -1227,7 +1228,6 @@
 
                        SQLheader(hdl, len, printfields, fields != printfields);
                        oldfields = fields;
-                       croppedfields = 0;
                }
 
                for (i = 0; i < printfields; i++) {
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to