aboutsummaryrefslogtreecommitdiff
path: root/test/view.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/view.test')
-rw-r--r--test/view.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/view.test b/test/view.test
index 0b8354a38..235f8605a 100644
--- a/test/view.test
+++ b/test/view.test
@@ -499,6 +499,13 @@ do_test view-14.1 {
SELECT * FROM temp.t1;
}
} {1 {view t1 is circularly defined}}
+do_test view-14.2 {
+ catchsql {
+ DROP VIEW IF EXISTS temp.t1;
+ CREATE TEMP VIEW t1(a,b) AS SELECT a,b FROM t1;
+ SELECT * FROM temp.t1;
+ }
+} {1 {view t1 is circularly defined}}
# Tickets #1688, #1709
#