Bugs item #2344251, was opened at 2008-11-25 17:27 Message generated for change (Comment added) made by sjoerd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2344251&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Mapi Group: Clients CVS Head >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Stefan de Konink (skinkie) >Assigned to: Sjoerd Mullender (sjoerd) Summary: Output isn't complete Initial Comment: sql>\>/home/skinkie/betteroutput sql>select distinct way_nds.way, way_nds.to_node from way_nds left join nodes_legacy on way_nds.to_node = nodes_legacy.id where nodes_legacy.id is NULL; 0 tuples 15386 tuples File output: +----------+-----------+ | way | to_node | +==========+===========+ .... | 28539879 | 313483410 | | 28539879 | 313483411 | | 28539879 | 313483412 | | 28539879 | 313483413 | | 2 (that is line 15238, which ends with 2) ---------------------------------------------------------------------- >Comment By: Sjoerd Mullender (sjoerd) Date: 2008-12-05 15:25 Message: I consider this not a bug but a feature request since no output is lost (it's only buffered, when you exit mclient or close the output file, the data *is* flushed first). A possible work around is to direct output back to stdout before looking at the output file (however, there is no way to then continue outputting to the file). Despite this not (IMHO) being a bug, I have fixed it (in the stable branch) by adding a fflush just before a new line is read from stdin. ---------------------------------------------------------------------- Comment By: Stefan de Konink (skinkie) Date: 2008-11-25 19:48 Message: Thanks! Confirmed. I hope fflush could be implemented after each query. ---------------------------------------------------------------------- Comment By: Lefteris Sidirourgos (lsidir) Date: 2008-11-25 17:41 Message: I have run to that before. Since you are outputting to a file, the buffer is not flushed, so either you wait for a while or you exit mclient to force flushing. This is not the correct way to deal with the problem of course, I am just pointing out the problem and a work around. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2344251&group_id=56967 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
