1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

2.0.3 (CVS 287)

FossilOrigin-Name: 75e90cf09b64ee1fcb39a711fc9ac6d3d2b849a5
This commit is contained in:
drh
2001-10-13 02:59:08 +00:00
parent 99fcd718e1
commit bf4133cba1
15 changed files with 350 additions and 116 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is exercising the code in main.c.
#
# $Id: main.test,v 1.8 2001/09/16 00:13:28 drh Exp $
# $Id: main.test,v 1.9 2001/10/13 02:59:09 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -98,17 +98,9 @@ do_test main-3.2 {
foreach f [glob -nocomplain testdb/*] {file delete -force $f}
file delete -force testdb
sqlite db testdb
set v [catch {execsql {SELECT * from T1 where ~x}} msg]
set v [catch {execsql {SELECT * from T1 where @x}} msg]
lappend v $msg
} {1 {unrecognized token: "~"}}
do_test main-3.3 {
catch {db close}
foreach f [glob -nocomplain testdb/*] {file delete -force $f}
file delete -force testdb
sqlite db testdb
set v [catch {execsql {SELECT a|b from T1 where x}} msg]
lappend v $msg
} {1 {unrecognized token: "|"}}
} {1 {unrecognized token: "@"}}
do_test main-3.3 {
catch {db close}