Update of /cvsroot/monetdb/sql/src/backends/monet5/merovingian
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9953
Modified Files:
merovingian_forkmserver.c
Log Message:
apply simple heuristic to make sure 'include sql;' ends up quoted in the log,
so we can easily copy 'n' paste the long string without editing it
Index: merovingian_forkmserver.c
===================================================================
RCS file:
/cvsroot/monetdb/sql/src/backends/monet5/merovingian/merovingian_forkmserver.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- merovingian_forkmserver.c 7 Jan 2010 15:24:31 -0000 1.8
+++ merovingian_forkmserver.c 4 Mar 2010 09:06:44 -0000 1.9
@@ -322,8 +322,15 @@
argv[c++] = NULL;
fprintf(stdout, "arguments:");
- for (c = 0; argv[c] != NULL; c++)
- fprintf(stdout, " %s", argv[c]);
+ for (c = 0; argv[c] != NULL; c++) {
+ /* very stupid heuristic to make copy/paste easier from
+ * merovingian's log */
+ if (strchr(argv[c], ' ') != NULL) {
+ fprintf(stdout, " \"%s\"", argv[c]);
+ } else {
+ fprintf(stdout, " %s", argv[c]);
+ }
+ }
Mfprintf(stdout, "\n");
execv(_mero_mserver, argv);
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins