mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Increased test coverage. Some malloc tests now fail though this is believed
to be an instrumentation problem not a real error. (CVS 2604) FossilOrigin-Name: f786f37a5e31f42aaf81b3ad4a734f12855da69e
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing VIEW statements.
|
||||
#
|
||||
# $Id: view.test,v 1.26 2005/07/08 17:13:47 drh Exp $
|
||||
# $Id: view.test,v 1.27 2005/08/20 03:03:04 drh Exp $
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
|
||||
@ -448,4 +448,13 @@ do_test view-12.1 {
|
||||
}
|
||||
} {1 {parameters are not allowed in views}}
|
||||
|
||||
do_test view-13.1 {
|
||||
file delete -force test2.db
|
||||
catchsql {
|
||||
ATTACH 'test2.db' AS two;
|
||||
CREATE TABLE two.t2(x,y);
|
||||
CREATE VIEW v13 AS SELECT y FROM two.t2;
|
||||
}
|
||||
} {1 {view v13 cannot reference objects in database two}}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user