mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix a bug in the auth.test script. (CVS 1590)
FossilOrigin-Name: 1fa97dd81d349e448171a78f69e463e7fa364daa
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
# focus of this script is testing the ATTACH and DETACH commands
|
||||
# and related functionality.
|
||||
#
|
||||
# $Id: auth.test,v 1.13 2004/05/27 17:22:56 drh Exp $
|
||||
# $Id: auth.test,v 1.14 2004/06/14 11:54:18 danielk1977 Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -417,6 +417,15 @@ do_test auth-1.53 {
|
||||
catchsql {SELECT * FROM t2}
|
||||
} {0 {11 2 33}}
|
||||
|
||||
# Update for version 3: There used to be a handful of test here that
|
||||
# tested the authorisation callback with the COPY command. The following
|
||||
# test makes the same database modifications as they used to.
|
||||
do_test auth-1.54 {
|
||||
execsql {INSERT INTO t2 VALUES(7, 8, 9);}
|
||||
} {}
|
||||
do_test auth-1.55 {
|
||||
execsql {SELECT * FROM t2}
|
||||
} {11 2 33 7 8 9}
|
||||
|
||||
do_test auth-1.63 {
|
||||
proc auth {code arg1 arg2 arg3 arg4} {
|
||||
|
Reference in New Issue
Block a user