When inserting a row into a child table, invoke the authorization callback to request permission to read the parent key columns.
FossilOrigin-Name: 9842f2d5f606eb8f641ecae9fbc5368b8d7e4286
This commit is contained in:
@@ -2734,6 +2734,7 @@ void sqlite3DeferForeignKey(Parse*, int);
|
||||
int sqlite3AuthCheck(Parse*,int, const char*, const char*, const char*);
|
||||
void sqlite3AuthContextPush(Parse*, AuthContext*, const char*);
|
||||
void sqlite3AuthContextPop(AuthContext*);
|
||||
void sqlite3AuthReadCol(Parse*, const char *, const char *, int, Expr *);
|
||||
#else
|
||||
# define sqlite3AuthRead(a,b,c,d)
|
||||
# define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK
|
||||
|
||||
Reference in New Issue
Block a user