Backport of libsqlite fix in relation to AS keyword.

This commit is contained in:
Ilia Alshanetsky 2005-07-29 19:48:52 +00:00
parent 0bb094e52b
commit 1564872062

View file

@ -114,6 +114,7 @@ void sqlite3AuthRead(
TriggerStack *pStack; /* The stack of current triggers */
if( db->xAuth==0 ) return;
if( pExpr->op==TK_AS ) return;
assert( pExpr->op==TK_COLUMN );
for(iSrc=0; pTabList && iSrc<pTabList->nSrc; iSrc++){
if( pExpr->iTable==pTabList->a[iSrc].iCursor ) break;