Update of /cvsroot/monetdb/sql/src/benchmarks/tpch/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12875/sql/src/benchmarks/tpch/Tests
Modified Files:
Tag: SQL_2-20
load.SQL.py
Log Message:
instead of calling Mlog, we let the python test scripts do the command line
logging themselves
Index: load.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/benchmarks/tpch/Tests/load.SQL.py,v
retrieving revision 1.10.10.3
retrieving revision 1.10.10.4
diff -u -d -r1.10.10.3 -r1.10.10.4
--- load.SQL.py 28 Oct 2007 10:25:55 -0000 1.10.10.3
+++ load.SQL.py 29 Oct 2007 13:55:29 -0000 1.10.10.4
@@ -22,5 +22,9 @@
CALL = SQL_CLIENT+" < load.sql"
-os.system('Mlog "%s"' % CALL.replace('"','\\"'))
+import sys, time
+Mlog = "\n%s %s\n\n" % (time.strftime('# %H:%M:%S
>',time.localtime(time.time())), CALL)
+sys.stdout.write(Mlog)
+sys.stderr.write(Mlog)
+
os.system(CALL)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins