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

Code clean-up for the integrity_check enhancement.

FossilOrigin-Name: a140173102febe9ef8064ee9b95bee489db54caba149e577d69e4d75161bf390
This commit is contained in:
drh
2022-10-10 21:21:04 +00:00
parent db6940ab45
commit c9ef12f62b
5 changed files with 39 additions and 41 deletions

View File

@@ -2613,7 +2613,7 @@ case OP_IsNull: { /* same as TK_ISNULL, jump, in1 */
** P5 bitmask.
**
*/
case OP_IsType: {
case OP_IsType: { /* jump */
VdbeCursor *pC;
u16 typeMask;
u32 serialType;
@@ -2624,7 +2624,7 @@ case OP_IsType: {
pC = p->apCsr[pOp->p1];
assert( pC!=0 );
assert( pOp->p3>=0 );
if( pOp->p3<(u32)pC->nHdrParsed ){
if( pOp->p3<pC->nHdrParsed ){
serialType = pC->aType[pOp->p3];
if( serialType==0 ){
typeMask = 0x10; /* SQLITE_NULL */