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

Added Files:
        mclient-t-s.SQL.py 
Log Message:
propagated changes of Sunday Nov 15 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/11/15 - stmane: src/test/Tests/mclient-t-s.SQL.py,1.1.2.1
  
  added test(s) for
  ID: 2872884 "mclient -t -s... does not show "Timer" info"
  
https://sourceforge.net/tracker/?func=detail&aid=2872884&group_id=56967&atid=482468
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--- NEW FILE: mclient-t-s.SQL.py ---
import os, sys
from MonetDBtesting import process

def client(args):
    clt = process.client('sql', args = args,
                         stdout = process.PIPE, stderr = process.PIPE)
    out, err = clt.communicate()
    sys.stdout.write(out)
    sys.stderr.write(err)

sys.stdout.write('#~BeginVariableOutput~#\n')
client(['-t', '-s', 'select 123;'])
sys.stdout.write('#~EndVariableOutput~#\n')


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to