Lines Matching refs:v2
30 CREATE VIEW v2 AS SELECT * FROM t1;
39 CREATE VIEW aux.v2 AS SELECT * FROM t1;
82 1 "DROP VIEW v1" {main.v1 main.v2 aux.v1 aux.v2 aux.v3}
83 2 "DROP VIEW v2" {main.v1 temp.v1 aux.v1 aux.v2 aux.v3}
84 3 "DROP VIEW main.v1" {main.v2 temp.v1 aux.v1 aux.v2 aux.v3}
85 4 "DROP VIEW main.v2" {main.v1 temp.v1 aux.v1 aux.v2 aux.v3}
86 5 "DROP VIEW IF EXISTS v1" {main.v1 main.v2 aux.v1 aux.v2 aux.v3}
87 6 "DROP VIEW IF EXISTS v2" {main.v1 temp.v1 aux.v1 aux.v2 aux.v3}
88 7 "DROP VIEW IF EXISTS main.v1" {main.v2 temp.v1 aux.v1 aux.v2 aux.v3}
89 8 "DROP VIEW IF EXISTS main.v2" {main.v1 temp.v1 aux.v1 aux.v2 aux.v3}
128 do_test 3.1.3 { list_all_views } {main.v1 main.v2 aux.v1 aux.v2 aux.v3}
134 do_test 3.2.3 { list_all_views } {main.v2 aux.v1 aux.v2 aux.v3}
137 do_execsql_test 3.3.0 { SELECT * FROM v2 } {{a main} {b main}}
138 do_execsql_test 3.3.1 { DROP VIEW v2 } {}
139 do_catchsql_test 3.3.2 { SELECT * FROM main.v2 } {1 {no such table: main.v2}}
140 do_test 3.3.3 { list_all_views } {aux.v1 aux.v2 aux.v3}
146 do_test 3.4.3 { list_all_views } {aux.v2 aux.v3}
149 do_execsql_test 3.5.0 { SELECT * FROM aux.v2 } {{a aux} {b aux}}
150 do_execsql_test 3.5.1 { DROP VIEW aux.v2 } {}
151 do_catchsql_test 3.5.2 { SELECT * FROM aux.v2 } {1 {no such table: aux.v2}}
171 3 "DROP VIEW temp.v2" temp.v2
182 #expr {[list_all_views] == "main.v1 main.v2 temp.v1 aux.v1 aux.v2 aux.v3"}
184 1 "DROP VIEW IF EXISTS xx" "main.v1 main.v2 temp.v1 aux.v1 aux.v2 aux.v3"
185 2 "DROP VIEW IF EXISTS main.xx" "main.v1 main.v2 temp.v1 aux.v1 aux.v2 aux.v3"
186 3 "DROP VIEW IF EXISTS temp.v2" "main.v1 main.v2 temp.v1 aux.v1 aux.v2 aux.v3"