diff options
author | drh <drh@noemail.net> | 2013-09-12 17:29:25 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-09-12 17:29:25 +0000 |
commit | a4c3c87e3dea5b596ebf28e3b91b3d8aa3be4bd6 (patch) | |
tree | e117f81390471a90020ae243743eefde3aad6648 /src/attach.c | |
parent | 7d9e7d8287368bfd65825567a39ef23465d7bda5 (diff) | |
parent | c5cd124900f463df0410da7f30e8d47ec07810d5 (diff) | |
download | sqlite-a4c3c87e3dea5b596ebf28e3b91b3d8aa3be4bd6.tar.gz sqlite-a4c3c87e3dea5b596ebf28e3b91b3d8aa3be4bd6.zip |
Merge in the Expr.flags expansion to 32-bits. Use an extra bit to help
optimize the sqlite3ExprSkipCollate() routine.
FossilOrigin-Name: 4c84d1b4c20f18921dd705bf67e8225975b83e86
Diffstat (limited to 'src/attach.c')
-rw-r--r-- | src/attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attach.c b/src/attach.c index 6d965ace6..805305dab 100644 --- a/src/attach.c +++ b/src/attach.c @@ -509,7 +509,7 @@ int sqlite3FixExpr( Expr *pExpr /* The expression to be fixed to one database */ ){ while( pExpr ){ - if( ExprHasAnyProperty(pExpr, EP_TokenOnly) ) break; + if( ExprHasProperty(pExpr, EP_TokenOnly) ) break; if( ExprHasProperty(pExpr, EP_xIsSelect) ){ if( sqlite3FixSelect(pFix, pExpr->x.pSelect) ) return 1; }else{ |