mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix minor test script problems.
FossilOrigin-Name: 5d54cd44d076cfede60bd404a59bd700a950420b961ae9fdec4365a3e4ed18ed
This commit is contained in:
@ -455,12 +455,13 @@ if {$tcl_platform(platform)!="windows"} {
|
||||
catchsql {
|
||||
SELECT count(*) FROM t3;
|
||||
}
|
||||
} {1 {database disk image is malformed}}
|
||||
} {1 {malformed database schema (t3) - invalid rootpage}}
|
||||
}
|
||||
}
|
||||
|
||||
# Ticket #2470
|
||||
#
|
||||
reset_db
|
||||
do_test misc7-18.1 {
|
||||
execsql {
|
||||
CREATE TABLE table_1 (col_10);
|
||||
|
@ -974,6 +974,7 @@ test_suite "journaltest" -description {
|
||||
pager1.test syscall.test tkt3457.test *malloc* mmap* multiplex* nolock*
|
||||
pager2.test *fault* rowal* snapshot* superlock* symlink.test
|
||||
delete_db.test shmlock.test chunksize.test
|
||||
busy2.test
|
||||
}]
|
||||
|
||||
if {[info commands register_demovfs] != ""} {
|
||||
|
@ -120,8 +120,15 @@ do_test 4.1.4 {
|
||||
sqlite3 db2 test.db2
|
||||
execsql { DROP TABLE t1 } db3
|
||||
execsql { DROP TABLE t2 } db2
|
||||
} {}
|
||||
do_execsql_test 4.1.5 { PRAGMA table_info(t1) }
|
||||
} {}
|
||||
if {[permutation]=="prepare"} {
|
||||
do_catchsql_test 4.1.5a {
|
||||
PRAGMA table_info(t1)
|
||||
} {1 {database schema has changed}}
|
||||
}
|
||||
do_execsql_test 4.1.5 {
|
||||
PRAGMA table_info(t1)
|
||||
}
|
||||
do_execsql_test 4.1.6 { PRAGMA table_info(t2) }
|
||||
|
||||
db2 close
|
||||
|
Reference in New Issue
Block a user