mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
Backport of libsqlite fix in relation to AS keyword.
This commit is contained in:
parent
0bb094e52b
commit
1564872062
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue