Update of /cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30699/src/test/BugTracker-2009/Tests

Modified Files:
      Tag: Nov2009
        create_on_ro_db_crash.SF-2830238.py 
Log Message:
propagated changes of Thursday Oct 15 2009
from the Aug2009 branch to the Nov2009 branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/10/15 - sjoerd:
          
src/test/BugTracker-2009/Tests/create_on_ro_db_crash.SF-2830238.py,1.1.2.3
  If we read from a subprocess, we need to use universal newlines (i.e. map 
\r\n to \n).
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: create_on_ro_db_crash.SF-2830238.py
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/create_on_ro_db_crash.SF-2830238.py,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -d -r1.2.2.2 -r1.2.2.3
--- create_on_ro_db_crash.SF-2830238.py 14 Oct 2009 12:04:50 -0000      1.2.2.2
+++ create_on_ro_db_crash.SF-2830238.py 15 Oct 2009 12:56:53 -0000      1.2.2.3
@@ -6,6 +6,7 @@
 def server():
     s = subprocess.Popen('%s "--dbinit=include sql;" --set gdk_readonly=yes' % 
os.getenv('MSERVER'),
                          shell = True,
+                         universal_newlines = True,
                          stdin = subprocess.PIPE,
                          stdout = subprocess.PIPE,
                          stderr = subprocess.PIPE)
@@ -24,6 +25,7 @@
 def client():
     c = subprocess.Popen("%s" % os.getenv('SQL_CLIENT'),
                          shell = True,
+                         universal_newlines = True,
                          stdin = subprocess.PIPE,
                          stdout = subprocess.PIPE,
                          stderr = subprocess.PIPE)


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to