diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2005-07-29 19:48:52 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2005-07-29 19:48:52 +0000 |
| commit | 156487206287f58939b124e9d10068823e503a32 (patch) | |
| tree | dfe668d2766558d98313ece5ba3e503d350b7f33 /ext/pdo_sqlite/sqlite | |
| parent | 0bb094e52b2a93e6789879cb65356b5ff099c2b4 (diff) | |
| download | php-git-156487206287f58939b124e9d10068823e503a32.tar.gz | |
Backport of libsqlite fix in relation to AS keyword.
Diffstat (limited to 'ext/pdo_sqlite/sqlite')
| -rw-r--r-- | ext/pdo_sqlite/sqlite/src/auth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/auth.c b/ext/pdo_sqlite/sqlite/src/auth.c index d4b7a61bd3..693baa2c89 100644 --- a/ext/pdo_sqlite/sqlite/src/auth.c +++ b/ext/pdo_sqlite/sqlite/src/auth.c @@ -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; |
