diff options
author | dan <Dan Kennedy> | 2024-02-26 12:16:02 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2024-02-26 12:16:02 +0000 |
commit | 09e1900cdcd40548a8d1dfb15076f77c80e492c7 (patch) | |
tree | c929fca2c2a2f61458bb189d01dfa3c08a88fbbd /src/where.c | |
parent | f286ad9211dceab80dc81e9207afdeac80bc777e (diff) | |
parent | 1103eb423e7c975ba77f8a9a10b0667636191be8 (diff) | |
download | sqlite-09e1900cdcd40548a8d1dfb15076f77c80e492c7.tar.gz sqlite-09e1900cdcd40548a8d1dfb15076f77c80e492c7.zip |
Add the intck extension. For performing incremental integrity-check on a database.
FossilOrigin-Name: 141d8bb059f8987d05d18327b97c4d36e98258f657b41a3d4d8877fe8b4e72e3
Diffstat (limited to 'src/where.c')
-rw-r--r-- | src/where.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/where.c b/src/where.c index 0e526b337..9850d22cc 100644 --- a/src/where.c +++ b/src/where.c @@ -2975,7 +2975,9 @@ static int whereLoopAddBtreeIndex( } if( pProbe->bUnordered || pProbe->bLowQual ){ if( pProbe->bUnordered ) opMask &= ~(WO_GT|WO_GE|WO_LT|WO_LE); - if( pProbe->bLowQual ) opMask &= ~(WO_EQ|WO_IN|WO_IS); + if( pProbe->bLowQual && pSrc->fg.isIndexedBy==0 ){ + opMask &= ~(WO_EQ|WO_IN|WO_IS); + } } assert( pNew->u.btree.nEq<pProbe->nColumn ); |