Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8801/src/server

Modified Files:
      Tag: Aug2009
        rel_dump.mx 
Log Message:
Fix plan output to terminate with a newline and not do a flush (that
happens elsewhere and we must not have two flushes).
Also start every line with `=' instead of `#' so that the output is
visible when using default mclient.


U rel_dump.mx
Index: rel_dump.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_dump.mx,v
retrieving revision 1.39
retrieving revision 1.39.2.1
diff -u -d -r1.39 -r1.39.2.1
--- rel_dump.mx 1 Aug 2009 14:47:41 -0000       1.39
+++ rel_dump.mx 17 Aug 2009 15:55:09 -0000      1.39.2.1
@@ -54,7 +54,7 @@
                        buf[i] = ' ';
        }
        buf[i] = 0;
-       stream_printf(fout, "\n#%s", buf);
+       stream_printf(fout, "\n=%s", buf);
 }
 
 static void
@@ -264,7 +264,7 @@
        if (rel_is_ref(rel)) {
                int nr = list_length(refs) + 1;
                int cnt = rel->ref.refcnt;
-               stream_printf(fout, "\n# REF %d (%d)", nr, cnt);
+               stream_printf(fout, "\n= REF %d (%d)", nr, cnt);
        }
 
        switch (rel->op) {
@@ -464,6 +464,6 @@
        list *refs = list_create(NULL);
        rel_print_refs(sql, sql->scanner.ws, rel, depth, refs);
        rel_print_(sql, sql->scanner.ws, rel, depth, refs);
-       stream_flush(sql->scanner.ws);
+       stream_printf(sql->scanner.ws, "\n");
        list_destroy(refs);
 }


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to