aboutsummaryrefslogtreecommitdiff
path: root/test/tclsqlite.test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2003-01-31 17:21:49 +0000
committerdrh <drh@noemail.net>2003-01-31 17:21:49 +0000
commitdcd997ea2ec92c08506c56490cf6109a9611eafc (patch)
tree59141aa74510bf9bb129ca235d0b3a2b6eef50cd /test/tclsqlite.test
parent88eee38afda94f0ac0371626455dc875767e1263 (diff)
downloadsqlite-dcd997ea2ec92c08506c56490cf6109a9611eafc.tar.gz
sqlite-dcd997ea2ec92c08506c56490cf6109a9611eafc.zip
The sqlite_exec() function now returns SQLITE_AUTH when authorization fails.
Ticket #231. (CVS 857) FossilOrigin-Name: d93c1aeb544a5b1056424945eb43854213b30e50
Diffstat (limited to 'test/tclsqlite.test')
-rw-r--r--test/tclsqlite.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tclsqlite.test b/test/tclsqlite.test
index 88041859f..8ffc8243d 100644
--- a/test/tclsqlite.test
+++ b/test/tclsqlite.test
@@ -15,7 +15,7 @@
# interface is pretty well tested. This file contains some addition
# tests for fringe issues that the main test suite does not cover.
#
-# $Id: tclsqlite.test,v 1.8 2002/09/14 13:47:33 drh Exp $
+# $Id: tclsqlite.test,v 1.9 2003/01/31 17:21:51 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -29,7 +29,7 @@ do_test tcl-1.1 {
do_test tcl-1.2 {
set v [catch {db bogus} msg]
lappend v $msg
-} {1 {bad option "bogus": must be busy, changes, close, complete, eval, function, last_insert_rowid, open_aux_file, or timeout}}
+} {1 {bad option "bogus": must be busy, changes, close, complete, errorcode, eval, function, last_insert_rowid, open_aux_file, or timeout}}
do_test tcl-1.3 {
execsql {CREATE TABLE t1(a int, b int)}
execsql {INSERT INTO t1 VALUES(10,20)}