[prev in list] [next in list] [prev in thread] [next in thread]
List: monetdb-checkins
Subject: [Monetdb-checkins] clients/src/mapiclient MapiClient.mx, , 1.125,
From: Martin Kersten <mlkersten () users ! sourceforge ! net>
Date: 2008-10-29 8:38:15
Message-ID: E1Kv6ZE-0003pY-0Z () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/monetdb/clients/src/mapiclient
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14698/src/mapiclient
Modified Files:
MapiClient.mx
Log Message:
Retain the statement modifiers over multiple input lines.
U MapiClient.mx
Index: MapiClient.mx
===================================================================
RCS file: /cvsroot/monetdb/clients/src/mapiclient/MapiClient.mx,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -d -r1.125 -r1.126
--- MapiClient.mx 29 Oct 2008 08:19:20 -0000 1.125
+++ MapiClient.mx 29 Oct 2008 08:38:12 -0000 1.126
@@ -229,7 +229,9 @@
DEBUGmodifier,
TRACEmodifier
};
-static enum modifiers specials = NOmodifier; /* set when we see EXPLAIN,DEBUG, or \
TRACE (only if mode == SQL) */ +static enum modifiers specials = NOmodifier;
+/* set when we see EXPLAIN,DEBUG, or TRACE (only if mode == SQL).
+Also retain these modes until after you have received the answer. */
#define MINCOLSIZE 5
@@ -348,7 +350,7 @@
static void
SQLsetSpecial(const char *command)
{
- if (mode == SQL && command) {
+ if (mode == SQL && command && specials==NOmodifier) {
/* catch the specials for better rendering */
while (*command == ' ' || *command == '\t')
command++;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-checkins mailing list
Monetdb-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic