mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +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:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing expressions.
|
||||
#
|
||||
# $Id: expr.test,v 1.34 2004/06/17 05:36:45 danielk1977 Exp $
|
||||
# $Id: expr.test,v 1.35 2004/06/19 00:16:31 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -29,7 +29,7 @@ proc test_expr {name settings expr result} {
|
||||
test_expr expr-1.1 {i1=10, i2=20} {i1+i2} 30
|
||||
test_expr expr-1.2 {i1=10, i2=20} {i1-i2} -10
|
||||
test_expr expr-1.3 {i1=10, i2=20} {i1*i2} 200
|
||||
# update for sqlite v3: Change 0.5 to 0 in expr1.4 due to manifest types.
|
||||
# update for sqlite3 v3: Change 0.5 to 0 in expr1.4 due to manifest types.
|
||||
test_expr expr-1.4 {i1=10, i2=20} {i1/i2} 0
|
||||
test_expr expr-1.5 {i1=10, i2=20} {i2/i1} 2
|
||||
test_expr expr-1.6 {i1=10, i2=20} {i2<i1} 0
|
||||
|
Reference in New Issue
Block a user