diff options
author | drh <> | 2023-05-15 02:06:35 +0000 |
---|---|---|
committer | drh <> | 2023-05-15 02:06:35 +0000 |
commit | eb4455e4e4db00014ece5dc6e3ae0216b8fae614 (patch) | |
tree | 8e31d73e5aed00ad3eb867b65abaf2698de4d1b8 /src/sqliteInt.h | |
parent | fa746af4a37b787251ee639a9f0e1891dca13802 (diff) | |
download | sqlite-eb4455e4e4db00014ece5dc6e3ae0216b8fae614.tar.gz sqlite-eb4455e4e4db00014ece5dc6e3ae0216b8fae614.zip |
As evidenced by [forum:/forumpost/f3f546025a|forum post f3f546025a], the
new RIGHT JOIN related restriction on the push-down optimization implemented
by [da3fba18742b6e0b] also needs to apply to the automatic index
(a.k.a. hash-join) optimization and to the Bloom filter optimization.
Computation of the restriction is now
moved into the sqlite3ExprIsSingleTableConstraint() routine.
FossilOrigin-Name: 4902015dcf3869f08d9986e422faa231d9218a5e0fc59ba8df0f407e4eb3d605
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 935d03805..2c893770b 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -4906,7 +4906,7 @@ int sqlite3ExprIsConstantNotJoin(Expr*); int sqlite3ExprIsConstantOrFunction(Expr*, u8); int sqlite3ExprIsConstantOrGroupBy(Parse*, Expr*, ExprList*); int sqlite3ExprIsTableConstant(Expr*,int); -int sqlite3ExprIsSingleTableConstraint(Expr*,const SrcItem*); +int sqlite3ExprIsSingleTableConstraint(Expr*,const SrcList*,int); #ifdef SQLITE_ENABLE_CURSOR_HINTS int sqlite3ExprContainsSubquery(Expr*); #endif |