1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Replace some unreachable branch instructions with assert() statements.

FossilOrigin-Name: 88b84bf18a4b27626f8a0a2d313706ddd4f13749
This commit is contained in:
drh
2010-09-28 07:11:24 +00:00
parent 746fd9cc58
commit d81a142bfa
4 changed files with 13 additions and 14 deletions

View File

@@ -3484,7 +3484,7 @@ case OP_Found: { /* jump, in3 */
pIdxKey = &r;
}else{
assert( pIn3->flags & MEM_Blob );
ExpandBlob(pIn3);
assert( (pIn3->flags & MEM_Zero)==0 ); /* zeroblobs already expanded */
pIdxKey = sqlite3VdbeRecordUnpack(pC->pKeyInfo, pIn3->n, pIn3->z,
aTempRec, sizeof(aTempRec));
if( pIdxKey==0 ){