Changeset: 19e8d5f801d4 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/19e8d5f801d4
Modified Files:
        sql/test/rename/Tests/rename00.SQL.py
        sql/test/rename/Tests/rename01.test
Branch: default
Log Message:

Create the proper view to block the next alter schema stmt


diffs (24 lines):

diff --git a/sql/test/rename/Tests/rename00.SQL.py 
b/sql/test/rename/Tests/rename00.SQL.py
--- a/sql/test/rename/Tests/rename00.SQL.py
+++ b/sql/test/rename/Tests/rename00.SQL.py
@@ -12,7 +12,7 @@ with tempfile.TemporaryDirectory() as fa
 
     with process.server(mapiport='0', dbname='db1',
                         dbfarm=os.path.join(farm_dir, 'db1'),
-                        stdin = process.PIPE,
+                        stdin=process.PIPE,
                         stdout=process.PIPE, stderr=process.PIPE) as s:
         with SQLTestCase() as tc:
             tc.connect(username="monetdb", password="monetdb", port=s.dbport, 
database='db1')
diff --git a/sql/test/rename/Tests/rename01.test 
b/sql/test/rename/Tests/rename01.test
--- a/sql/test/rename/Tests/rename01.test
+++ b/sql/test/rename/Tests/rename01.test
@@ -75,7 +75,7 @@ statement ok
 create schema bar
 
 statement ok
-create view av as select * from foo.a
+create view bar.av as select * from foo.a
 
 statement error 2BM37!ALTER SCHEMA: unable to rename schema 'foo', there are 
database objects which depend on it
 alter schema foo rename to foofoo
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to