1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-22 20:22:44 +03:00

Move field WhereLevel.pCovidx inside the union to WhereLevel.u.pCovidx.

FossilOrigin-Name: b722143d075979ba3d92b7b29e576ce2307187d1
This commit is contained in:
drh
2012-08-24 23:24:15 +00:00
parent 7b36ba3da3
commit d40e208726
4 changed files with 11 additions and 11 deletions

View File

@@ -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;