1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Various minor fixes and updates to make more test cases pass. (CVS 1370)

FossilOrigin-Name: dbe8385ecf1df8bf0b1baf5e811ec5a1de5c4c42
This commit is contained in:
danielk1977
2004-05-13 11:34:16 +00:00
parent 183f9f7360
commit 96fc5fe6a5
14 changed files with 107 additions and 90 deletions

View File

@ -12,7 +12,7 @@
# focus of this script is testing the ATTACH and DETACH commands
# and related functionality.
#
# $Id: attach2.test,v 1.6 2004/05/11 10:04:49 drh Exp $
# $Id: attach2.test,v 1.7 2004/05/13 11:34:17 danielk1977 Exp $
#
@ -124,15 +124,15 @@ do_test attach2-2.12 {
do_test attach2-3.1 {
db close
set DB [sqlite db test.db]
set rc [catch {sqlite3_compile $DB "ATTACH 'test2.db' AS t2" TAIL} VM]
set rc [catch {sqlite_compile $DB "ATTACH 'test2.db' AS t2" TAIL} VM]
if {$rc} {lappend rc $VM}
sqlite3_finalize $VM
sqlite_finalize $VM
set rc
} {0}
do_test attach2-3.2 {
set rc [catch {sqlite3_compile $DB "DETACH t2" TAIL} VM]
set rc [catch {sqlite_compile $DB "DETACH t2" TAIL} VM]
if {$rc} {lappend rc $VM}
sqlite3_finalize $VM
sqlite_finalize $VM
set rc
} {0}