aboutsummaryrefslogtreecommitdiff
path: root/src/where.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2012-08-24 23:24:15 +0000
committerdrh <drh@noemail.net>2012-08-24 23:24:15 +0000
commitd40e208726918b770586cb0bf5cf7edabc17ee2a (patch)
treee00b3ddd6b0f816f04ddac7e2a4a2d85b933a33e /src/where.c
parent7b36ba3da319786dea5deab70c8f8181ebdc2f8f (diff)
downloadsqlite-d40e208726918b770586cb0bf5cf7edabc17ee2a.tar.gz
sqlite-d40e208726918b770586cb0bf5cf7edabc17ee2a.zip
Move field WhereLevel.pCovidx inside the union to WhereLevel.u.pCovidx.
FossilOrigin-Name: b722143d075979ba3d92b7b29e576ce2307187d1
Diffstat (limited to 'src/where.c')
-rw-r--r--src/where.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/where.c b/src/where.c
index 27fb0f8fc..a460abc2d 100644
--- a/src/where.c
+++ b/src/where.c
@@ -4446,7 +4446,7 @@ static Bitmask codeOneLoopStart(
}
}
}
- pLevel->pCovidx = pCov;
+ pLevel->u.pCovidx = pCov;
pLevel->iIdxCur = iCovCur;
if( pAndExpr ){
pAndExpr->pLeft = 0;
@@ -5277,7 +5277,7 @@ void sqlite3WhereEnd(WhereInfo *pWInfo){
if( pLevel->plan.wsFlags & WHERE_INDEXED ){
pIdx = pLevel->plan.u.pIdx;
}else if( pLevel->plan.wsFlags & WHERE_MULTI_OR ){
- pIdx = pLevel->pCovidx;
+ pIdx = pLevel->u.pCovidx;
}
if( pIdx && !db->mallocFailed){
int k, j, last;