diff options
author | dan <dan@noemail.net> | 2018-06-04 08:28:18 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2018-06-04 08:28:18 +0000 |
commit | 2b1287cf4443e040662a16667bb024f948e51c17 (patch) | |
tree | 10151f634a4b704038fdabb24a6b813990d61cb8 /src/auth.c | |
parent | f1abe3680e04cc0f5c9eed7a9e6b47093a490beb (diff) | |
parent | eb7df46e3203bb1fe1cfbd1c42c3af1a26a6ce6d (diff) | |
download | sqlite-2b1287cf4443e040662a16667bb024f948e51c17.tar.gz sqlite-2b1287cf4443e040662a16667bb024f948e51c17.zip |
Merge latest trunk changes into this branch.
FossilOrigin-Name: 83d6416a868fac81a78c9507185a48d00920e4322276245e285946f760915f4a
Diffstat (limited to 'src/auth.c')
-rw-r--r-- | src/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth.c b/src/auth.c index 7d6f851d8..03e4cf9f5 100644 --- a/src/auth.c +++ b/src/auth.c @@ -150,6 +150,7 @@ void sqlite3AuthRead( int iDb; /* The index of the database the expression refers to */ int iCol; /* Index of column in table */ + assert( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ); if( db->xAuth==0 ) return; iDb = sqlite3SchemaToIndex(pParse->db, pSchema); if( iDb<0 ){ @@ -158,7 +159,6 @@ void sqlite3AuthRead( return; } - assert( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ); if( pExpr->op==TK_TRIGGER ){ pTab = pParse->pTriggerTab; }else{ |