Changeset: cc19d4e83975 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cc19d4e83975
Modified Files:
        monetdb5/mal/mal_session.c
Branch: malparsing
Log Message:

one more alignment problem, make sure we do not flush when we are handling 
files on the
server side.


diffs (13 lines):

diff --git a/monetdb5/mal/mal_session.c b/monetdb5/mal/mal_session.c
--- a/monetdb5/mal/mal_session.c
+++ b/monetdb5/mal/mal_session.c
@@ -602,7 +602,8 @@ MALreader(Client c)
                        if (!blocked){
                                if (c->prompt && c->prompt[0])
                                        mnstr_write(c->fdout, c->prompt, 
strlen(c->prompt), 1);
-                               mnstr_flush(c->fdout);
+                               if (!c->bak)
+                                       mnstr_flush(c->fdout);
                                c->fdin->eof = 0;
                        } else {
                                /* we need more input from blocked stream */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to