Changeset: 21286420292d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/21286420292d
Modified Files:
        sql/test/testdb-upgrade-chain-hge/Tests/upgrade.py
        sql/test/testdb-upgrade-chain/Tests/upgrade.py
Branch: default
Log Message:

Fix SQL syntax.


diffs (24 lines):

diff --git a/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.py 
b/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.py
--- a/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.py
+++ b/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.py
@@ -42,7 +42,7 @@ with process.server(args=['--clean-BBP']
                         stdout=process.PIPE,
                         stderr=process.PIPE,
                         server=srv) as clt:
-        cltout, clterr = clt.communicate('drop all function testsschema.capi00 
if exists;\ndrop all function testsschema.rapi01 if exists;\ndrop all function 
testsschema.rapi02 if exists;\n')
+        cltout, clterr = clt.communicate('drop function if exists 
testsschema.capi00;\ndrop function if exists testsschema.rapi01;\ndrop function 
if exists testsschema.rapi02;\n')
     srvout, srverr = srv.communicate()
 
 srvout = [line for line in srvout.splitlines(keepends=True) if not 
line.startswith('#')]
diff --git a/sql/test/testdb-upgrade-chain/Tests/upgrade.py 
b/sql/test/testdb-upgrade-chain/Tests/upgrade.py
--- a/sql/test/testdb-upgrade-chain/Tests/upgrade.py
+++ b/sql/test/testdb-upgrade-chain/Tests/upgrade.py
@@ -42,7 +42,7 @@ with process.server(args=['--clean-BBP',
                         stdout=process.PIPE,
                         stderr=process.PIPE,
                         server=srv) as clt:
-        cltout, clterr = clt.communicate('drop all function testsschema.capi00 
if exists;\ndrop all function testsschema.rapi01 if exists;\ndrop all function 
testsschema.rapi02 if exists;\n')
+        cltout, clterr = clt.communicate('drop function if exists 
testsschema.capi00;\ndrop function if exists testsschema.rapi01;\ndrop function 
if exists testsschema.rapi02;\n')
     srvout, srverr = srv.communicate()
 
 srvout = [line for line in srvout.splitlines(keepends=True) if not 
line.startswith('#')]
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to