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

Modified Files:
        lost_update.SF-2790020.py 
Log Message:
propagated changes of Thursday Oct 15 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/10/15 - sjoerd:
          src/test/BugTracker-2009/Tests/lost_update.SF-2790020.py,1.2.4.2
  propagated changes of Thursday Oct 15 2009
  from the Aug2009 branch to the Nov2009 branch
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2009/10/15 - sjoerd:
            src/test/BugTracker-2009/Tests/lost_update.SF-2790020.py,1.2.2.1
    If we read from a subprocess, we need to use universal newlines (i.e. map 
\r\n to \n).
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: lost_update.SF-2790020.py
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/lost_update.SF-2790020.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- lost_update.SF-2790020.py   13 Oct 2009 14:10:34 -0000      1.3
+++ lost_update.SF-2790020.py   15 Oct 2009 13:03:41 -0000      1.4
@@ -6,6 +6,7 @@
 def server():
     s = subprocess.Popen("%s --dbinit='include sql;'" % 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