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

Modified Files:
        MapiClient.mx 
Log Message:
Reset the special mode after a TRACE rendering action.


Index: MapiClient.mx
===================================================================
RCS file: /cvsroot/monetdb/clients/src/mapiclient/MapiClient.mx,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- MapiClient.mx       18 Aug 2007 15:02:28 -0000      1.60
+++ MapiClient.mx       18 Aug 2007 21:29:40 -0000      1.61
@@ -234,6 +234,10 @@
        }
 }
 
+#define EXPLAINmodifier 1
+#define DEBUGmodifier 2
+#define TRACEmodifier 3
+
 static void
 SQLsetSpecial(const char *command)
 {
@@ -244,11 +248,11 @@
                while (*s == ' ' || *s == '\t')
                        s++;
                if (strncmp(s, "explain", 7) == 0)
-                       specials = 1;
+                       specials = EXPLAINmodifier;
                if (strncmp(s, "debug", 5) == 0)
-                       specials = 2;
+                       specials = DEBUGmodifier;
                if (strncmp(s, "trace", 5) == 0)
-                       specials = 3;
+                       specials = TRACEmodifier;
        }
 }
 
@@ -583,6 +587,7 @@
                rows++;
        }
        SQLseparator(len, cols, '-');
+       specials = 0;
 }
 
 static void


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to