Update of /cvsroot/monetdb/clients/src/mapiclient
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10423

Modified Files:
        MapiClient.mx 
Log Message:
Refinement of table formatter.
If you have a result with a single long field, you could not distinguish
the tuple boundaries. Now we replace the leading '|' by ':' for
all overflow lines.


Index: MapiClient.mx
===================================================================
RCS file: /cvsroot/monetdb/clients/src/mapiclient/MapiClient.mx,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- MapiClient.mx       8 Sep 2007 14:45:28 -0000       1.84
+++ MapiClient.mx       8 Sep 2007 15:11:31 -0000       1.85
@@ -279,10 +279,10 @@
        }
 
        do {
-               fprintf(toConsole, "| ");
+               fprintf(toConsole," %c", first? '|':':');
                more = 0;
                for (i = 0; i < fields; i++) {
-                       if (rest[i] == NULL || *rest[i] == 0)
+                       if (rest[i] == NULL || *rest[i] == 0) 
                                fprintf(toConsole, "%*s |", len[i], " ");
                        else {
                                /* break the string into pieces and left-adjust 
them in the column */


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to