Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30032/src/mal

Modified Files:
        mal_client.mx 
Log Message:
only write prompt as it has a length >0. 


Index: mal_client.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_client.mx,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -d -r1.150 -r1.151
--- mal_client.mx       1 Jun 2007 06:48:28 -0000       1.150
+++ mal_client.mx       2 Jun 2007 09:55:35 -0000       1.151
@@ -827,7 +827,7 @@
 the front-end to issue the request.
 @= sendPrompt
        if(c->promptlength>=0) { 
-               if (!isa_block_stream(c->fdout))
+               if (!isa_block_stream(c->fdout) && c->promptlength>0)
                        stream_write(c->fdout,c->prompt,c->promptlength,1); 
                stream_flush(c->fdout);
        }


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to