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

Fix a compilation issue in the "userauth" extension. Also fix a few test

script errors that occur with SQLITE_USER_AUTHENTICATION=1 builds.

FossilOrigin-Name: 221f3f572ed49d7af69a2e7c88741fa5206ea33ca59ee791eac7698bdd11ca4d
This commit is contained in:
dan
2018-09-19 17:09:09 +00:00
parent c6727c8342
commit 85c6892aa4
7 changed files with 21 additions and 18 deletions

View File

@ -2598,7 +2598,8 @@ do_test auth-8.2 {
# invocation with no column name specified, compilation fails.
#
set ::authargs [list]
proc auth {op a b c d} {
proc auth {op args} {
foreach {a b c d} $args break
lappend ::authargs $op $a $b $c $d
if {$op == "SQLITE_READ"} { return "SQLITE_DENY" }
return "SQLITE_OK"