1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-22 00:02:13 +03:00

Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917)

FossilOrigin-Name: 3970eb875d1830d35b3a70a7583a8ab6b238cad6
This commit is contained in:
danielk1977
2006-01-11 14:09:31 +00:00
parent 003437a0a7
commit b82e7edae9
12 changed files with 117 additions and 84 deletions

View File

@ -9,7 +9,7 @@
#
#***********************************************************************
#
# $Id: shared.test,v 1.10 2006/01/11 01:08:34 drh Exp $
# $Id: shared.test,v 1.11 2006/01/11 14:09:32 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -608,26 +608,6 @@ catch {db close}
catch {db2 close}
file delete -force test.db test2.db
if 0 {
do_test shared-9.1 {
sqlite3 db test.db
} {}
do_test shared-9.2 {
execsql {CREATE TABLE t1(a);}
} {}
file delete -force test.db
sqlite3 db test.db; set DB [sqlite3_connection_pointer db]
do_test shared-9.3 {
execsql {
CREATE TABLE t5(a);
INSERT INTO t5 VALUES('one');
} db
} {}
}
#---------------------------------------------------------------------------
# The following tests - shared-9.* - test interactions between TEMP triggers
# and shared-schemas.