Update of /cvsroot/monetdb/sql/src/test/Skyserver/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31846/src/test/Skyserver/Tests
Modified Files:
Skyserver.SQL.py
Log Message:
propagated changes of Monday Oct 22 2007 - Monday Oct 22 2007
from the SQL_2-20 branch to the development trunk
Index: Skyserver.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Skyserver/Tests/Skyserver.SQL.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Skyserver.SQL.py 12 Oct 2007 08:18:39 -0000 1.2
+++ Skyserver.SQL.py 22 Oct 2007 12:25:10 -0000 1.3
@@ -2,45 +2,45 @@
def main():
- clcmd = str(os.getenv('SQL_CLIENT'))
- clcmd1 = str(os.getenv('SQL_CLIENT')) + "-uskyserver -Pskyserver"
- sys.stdout.write('Create User\n')
- clt = os.popen(clcmd + "<%s" % ('%s/../create_user.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt.close()
- sys.stdout.write('tables\n')
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../../../sql/math.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../../../sql/cache.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../../../sql/ms_functions.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_tables.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_constraints.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- sys.stdout.write('views\n')
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_views.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- sys.stdout.write('functions\n')
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_functions.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- sys.stdout.write('Cleanup\n')
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropFunctions.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" %
('%s/../Skyserver_dropMs_functions.sql' % os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropMath.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropCache.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropViews.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropConstraints.sql'
% os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropTables.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt1.close()
- sys.stdout.write('Remove User\n')
- clt = os.popen(clcmd + "<%s" % ('%s/../drop_user.sql' %
os.getenv('RELSRCDIR')), 'w')
- clt.close()
+ clcmd = str(os.getenv('SQL_CLIENT'))
+ clcmd1 = str(os.getenv('SQL_CLIENT')) + "-uskyserver -Pskyserver"
+ sys.stdout.write('Create User\n')
+ clt = os.popen(clcmd + "<%s" % ('%s/../create_user.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt.close()
+ sys.stdout.write('tables\n')
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../../../sql/math.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../../../sql/cache.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../../../sql/ms_functions.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_tables.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_constraints.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ sys.stdout.write('views\n')
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_views.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ sys.stdout.write('functions\n')
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_functions.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ sys.stdout.write('Cleanup\n')
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropFunctions.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropMs_functions.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropMath.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropCache.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropViews.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropConstraints.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ clt1 = os.popen(clcmd1 + "<%s" % ('%s/../Skyserver_dropTables.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt1.close()
+ sys.stdout.write('Remove User\n')
+ clt = os.popen(clcmd + "<%s" % ('%s/../drop_user.sql' %
os.getenv('RELSRCDIR')), 'w')
+ clt.close()
main()
-------------------------------------------------------------------------
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