New requirements marks and documentation for the authorizer.
FossilOrigin-Name: 3980ea0911b3ad3f86d7a7bdc6503f233315c274f473e18831e13eda2c238eeb
This commit is contained in:
@@ -53,6 +53,10 @@ do_test auth3.1.2 {
|
||||
set ::authcode SQLITE_DENY
|
||||
catchsql { DELETE FROM t1 }
|
||||
} {1 {not authorized}}
|
||||
# EVIDENCE-OF: R-64962-58611 If the authorizer callback returns any
|
||||
# value other than SQLITE_IGNORE, SQLITE_OK, or SQLITE_DENY then the
|
||||
# sqlite3_prepare_v2() or equivalent call that triggered the authorizer
|
||||
# will fail with an error message.
|
||||
do_test auth3.1.3 {
|
||||
set ::authcode SQLITE_INVALID
|
||||
catchsql { DELETE FROM t1 }
|
||||
|
||||
Reference in New Issue
Block a user