Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a potential reference off the end of an array in the query planner. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f15591f80212dd6d4ed8e0f14be691cd |
User & Date: | drh 2013-08-19 14:19:00.852 |
References
2013-08-29
| ||
14:56 | Restore fix [f15591f802], which was accidentally clobbered by the stat4 merge. (check-in: d4b6ad3333 user: dan tags: trunk) | |
Context
2013-08-19
| ||
14:23 | Remove unused variables from the command-line shell sources. (check-in: 753a402e90 user: drh tags: trunk) | |
14:19 | Fix a potential reference off the end of an array in the query planner. (check-in: f15591f802 user: drh tags: trunk) | |
11:15 | Fixes for harmless compiler warnings. (check-in: a0d9ca4f07 user: drh tags: trunk) | |
Changes
Changes to src/where.c.
︙ | ︙ | |||
4333 4334 4335 4336 4337 4338 4339 | saved_nOut = pNew->nOut; pNew->rSetup = 0; rLogSize = estLog(whereCost(pProbe->aiRowEst[0])); for(; rc==SQLITE_OK && pTerm!=0; pTerm = whereScanNext(&scan)){ int nIn = 0; if( pTerm->prereqRight & pNew->maskSelf ) continue; #ifdef SQLITE_ENABLE_STAT3 | | > > | 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 | saved_nOut = pNew->nOut; pNew->rSetup = 0; rLogSize = estLog(whereCost(pProbe->aiRowEst[0])); for(; rc==SQLITE_OK && pTerm!=0; pTerm = whereScanNext(&scan)){ int nIn = 0; if( pTerm->prereqRight & pNew->maskSelf ) continue; #ifdef SQLITE_ENABLE_STAT3 if( (pTerm->wtFlags & TERM_VNULL)!=0 && (iCol<0 || pSrc->pTab->aCol[iCol].notNull) ){ continue; /* skip IS NOT NULL constraints on a NOT NULL column */ } #endif pNew->wsFlags = saved_wsFlags; pNew->u.btree.nEq = saved_nEq; pNew->nLTerm = saved_nLTerm; if( whereLoopResize(db, pNew, pNew->nLTerm+1) ) break; /* OOM */ |
︙ | ︙ |