Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv9524

Modified Files:
      Tag: XQuery_0-16
        pathfinder.mx 
Log Message:
removed sending PROMPT as we now only support blocked mode (this also
solves the compilation problems)


Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.288.2.15
retrieving revision 1.288.2.16
diff -u -d -r1.288.2.15 -r1.288.2.16
--- pathfinder.mx       17 Feb 2007 01:10:38 -0000      1.288.2.15
+++ pathfinder.mx       17 Feb 2007 21:32:46 -0000      1.288.2.16
@@ -5105,11 +5105,6 @@
     ctx->mode = XQ_MAPI;
     while (1) {
         /* use the MAPI protocol to read as much xquery buffer as possible */
-        if (!mc->c->blocked && 
-                stream_write(out, PROMPT1, sizeof(PROMPT1) - 1, 1) < 0) {
-            msg = "could not write prompt"; 
-            break;
-        }
         if (stream_flush(out)) {
             msg = "could not flush prompt"; 
             break;
@@ -5152,11 +5147,6 @@
                         p += sizeof("copy ")-1;
 
                         /* start shredder (first character should be skipped) 
*/
-                        if (!mc->c->blocked && 
-                                stream_write(out, PROMPT1, sizeof(PROMPT1) - 
1, 1) < 0) {
-                                msg = "could not write prompt"; 
-                                break;
-                        }
                         if (stream_flush(out)) {
                                 msg = "could not flush prompt"; 
                                 break;
@@ -5255,7 +5245,6 @@
     return GDK_FAIL;
 }
 
-
 /*
  * execute xquery and return the result in a string.
  */


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to