Update of /cvsroot/monetdb/MonetDB5/src/optimizer/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13561/src/optimizer/Tests
Modified Files:
remote00.py
Log Message:
propagated changes of Wednesday Oct 03 2007 - Monday Oct 08 2007
from the MonetDB_5-2 branch to the development trunk
Index: remote00.py
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/Tests/remote00.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- remote00.py 17 Jan 2007 15:45:09 -0000 1.6
+++ remote00.py 8 Oct 2007 09:23:51 -0000 1.7
@@ -3,7 +3,7 @@
class Popen:
def __init__(self, cmd):
- self.stdin,self.stdout = os.popen2(cmd, bufsize=0, mode='t');
+ self.stdin,self.stdout = os.popen2(cmd);
def server_start(x,dbname,mapi_port):
srvcmd = '%s --debug=10 --dbname "%s"' % (re.sub('mapi_port=[^ ]*
','mapi_port=%d ' % mapi_port,os.getenv('MSERVER')),dbname)
@@ -39,10 +39,14 @@
x += 1; srv2 = server_start(x, "db" + str(x), 12346)
srv1.stdin.write(prelude_1)
+ srv1.stdin.flush()
srv2.stdin.write(prelude_2 % (12345))
+ srv2.stdin.flush()
srv1.stdin.write("clients.quit();\n");
+ srv1.stdin.flush()
srv2.stdin.write("clients.quit();\n");
+ srv2.stdin.flush()
server_stop(srv1);
server_stop(srv2);
-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins