diff options
author | drh <drh@noemail.net> | 2015-08-19 17:11:37 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-08-19 17:11:37 +0000 |
commit | 01d230ce057ac505b064cdffcc01075eb387967c (patch) | |
tree | d0d6f5a00a82f7d151e9a14c58f9b9d77f7f420e /src/walker.c | |
parent | 8a48b9c0b18e01b0fec665ad1c86a6fce5fbf1cf (diff) | |
download | sqlite-01d230ce057ac505b064cdffcc01075eb387967c.tar.gz sqlite-01d230ce057ac505b064cdffcc01075eb387967c.zip |
A list of arguments following a table name translates into equality
constraints against hidden columns in that table.
FossilOrigin-Name: 40e12cfe4c29475417ba89fb637b4c763cf74016
Diffstat (limited to 'src/walker.c')
-rw-r--r-- | src/walker.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/walker.c b/src/walker.c index e30bb60b5..81e0f2cd6 100644 --- a/src/walker.c +++ b/src/walker.c @@ -105,6 +105,11 @@ int sqlite3WalkSelectFrom(Walker *pWalker, Select *p){ if( sqlite3WalkSelect(pWalker, pItem->pSelect) ){ return WRC_Abort; } + if( pItem->fg.isTabFunc + && sqlite3WalkExprList(pWalker, pItem->u1.pFuncArg) + ){ + return WRC_Abort; + } } } return WRC_Continue; |