mirror of
https://github.com/sqlite/sqlite.git
synced 2025-12-24 14:17:58 +03:00
Change the name of the TCL command from "sqlite" to "sqlite3" so that both
SQLite version 2 and SQLite version 3 can be used by Tcl at the same time. (CVS 1626) FossilOrigin-Name: d705d051bed2b92b6c3bbcc75fe5b056633b9c31
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
# This file implements tests for the SQLITE_MISUSE detection logic.
|
||||
# This test file leaks memory and file descriptors.
|
||||
#
|
||||
# $Id: misuse.test,v 1.4 2004/01/07 19:24:48 drh Exp $
|
||||
# $Id: misuse.test,v 1.5 2004/06/19 00:16:31 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -23,7 +23,7 @@ source $testdir/tester.tcl
|
||||
do_test misuse-1.1 {
|
||||
db close
|
||||
catch {file delete -force test2.db}
|
||||
set ::DB [sqlite db test2.db]
|
||||
set ::DB [sqlite3 db test2.db]
|
||||
execsql {
|
||||
CREATE TABLE t1(a,b);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
@@ -63,7 +63,7 @@ do_test misuse-1.6 {
|
||||
#
|
||||
do_test misuse-2.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test2.db]
|
||||
set ::DB [sqlite3 db test2.db]
|
||||
execsql {
|
||||
SELECT * FROM t1
|
||||
}
|
||||
@@ -92,7 +92,7 @@ do_test misuse-2.5 {
|
||||
#
|
||||
do_test misuse-3.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test2.db]
|
||||
set ::DB [sqlite3 db test2.db]
|
||||
execsql {
|
||||
SELECT * FROM t1
|
||||
}
|
||||
@@ -121,7 +121,7 @@ do_test misuse-3.5 {
|
||||
#
|
||||
do_test misuse-4.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test2.db]
|
||||
set ::DB [sqlite3 db test2.db]
|
||||
execsql {
|
||||
SELECT * FROM t1
|
||||
}
|
||||
@@ -150,7 +150,7 @@ do_test misuse-4.5 {
|
||||
#
|
||||
do_test misuse-5.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test2.db]
|
||||
set ::DB [sqlite3 db test2.db]
|
||||
execsql {
|
||||
SELECT * FROM t1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user