assert 349 Zend/zend_operators.h assert(0); \ assert 124 ext/bcmath/libbcmath/src/recmul.c assert (accum->n_len+accum->n_scale >= shift+count); assert 230 ext/dba/libinifile/inifile.c assert(k1->group && k1->name && k2->group && k2->name); assert 444 ext/dba/libinifile/inifile.c assert(0); assert 480 ext/dba/libinifile/inifile.c assert(!append || (key->name && value)); /* missuse */ assert 347 ext/filter/filter.c assert(*val != NULL); assert 4228 ext/gd/gd.c assert(!extended); assert 192 ext/openssl/openssl.c assert(pkey != NULL); assert 2460 ext/openssl/openssl.c assert(pkey != NULL); assert 2466 ext/openssl/openssl.c assert(pkey->pkey.rsa != NULL); assert 2479 ext/openssl/openssl.c assert(pkey->pkey.dsa != NULL); assert 2488 ext/openssl/openssl.c assert(pkey->pkey.dh != NULL); assert 71 ext/pdo_sqlite/sqlite/src/alter.c assert( len>0 ); assert 121 ext/pdo_sqlite/sqlite/src/alter.c assert( len>0 ); assert 222 ext/pdo_sqlite/sqlite/src/alter.c assert( iDb>=0 ); assert 228 ext/pdo_sqlite/sqlite/src/alter.c assert( iTrigDb==iDb || iTrigDb==1 ); assert 271 ext/pdo_sqlite/sqlite/src/alter.c assert( pSrc->nSrc==1 ); assert 406 ext/pdo_sqlite/sqlite/src/alter.c assert( pNew ); assert 414 ext/pdo_sqlite/sqlite/src/alter.c assert( pTab ); assert 516 ext/pdo_sqlite/sqlite/src/alter.c assert( pParse->pNewTable==0 ); assert 534 ext/pdo_sqlite/sqlite/src/alter.c assert( pTab->addColOffset>0 ); assert 545 ext/pdo_sqlite/sqlite/src/alter.c assert( pNew->nCol>0 ); assert 547 ext/pdo_sqlite/sqlite/src/alter.c assert( nAlloc>=pNew->nCol && nAlloc%8==0 && nAlloc-pNew->nCol<8 ); assert 104 ext/pdo_sqlite/sqlite/src/analyze.c assert( iDb>=0 ); assert 121 ext/pdo_sqlite/sqlite/src/analyze.c assert( iDb==sqlite3SchemaToIndex(pParse->db, pIdx->pSchema) ); assert 257 ext/pdo_sqlite/sqlite/src/analyze.c assert( pTab!=0 ); assert 350 ext/pdo_sqlite/sqlite/src/analyze.c assert( argc==2 ); assert 184 ext/pdo_sqlite/sqlite/src/attach.c assert( iDb>=2 ); assert 288 ext/pdo_sqlite/sqlite/src/attach.c assert( sqlite3MallocFailed() || pAuthArg ); assert 319 ext/pdo_sqlite/sqlite/src/attach.c assert( v || sqlite3MallocFailed() ); assert 386 ext/pdo_sqlite/sqlite/src/attach.c assert( db->nDb>iDb ); assert 119 ext/pdo_sqlite/sqlite/src/auth.c assert( pExpr->op==TK_COLUMN ); assert 135 ext/pdo_sqlite/sqlite/src/auth.c assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx ); assert 142 ext/pdo_sqlite/sqlite/src/auth.c assert( pExpr->iColumn<pTab->nCol ); assert 145 ext/pdo_sqlite/sqlite/src/auth.c assert( pTab->iPKey<pTab->nCol ); assert 150 ext/pdo_sqlite/sqlite/src/auth.c assert( iDb>=0 && iDb<db->nDb ); assert 577 ext/pdo_sqlite/sqlite/src/btree.c assert( SQLITE_OK==queryTableLock(p, iTable, eLock) ); assert 619 ext/pdo_sqlite/sqlite/src/btree.c assert( WRITE_LOCK>READ_LOCK ); assert 638 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3ThreadDataReadOnly()->useSharedData || 0==*ppIter ); assert 661 ext/pdo_sqlite/sqlite/src/btree.c assert( CURSOR_VALID==pCur->eState ); assert 662 ext/pdo_sqlite/sqlite/src/btree.c assert( 0==pCur->pKey ); assert 685 ext/pdo_sqlite/sqlite/src/btree.c assert( !pCur->pPage->intKey || !pCur->pKey ); assert 737 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_REQUIRESEEK ); assert 743 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID || pCur->eState==CURSOR_INVALID ); assert 833 ext/pdo_sqlite/sqlite/src/btree.c assert( 0==PTRMAP_ISPAGE(pBt, PENDING_BYTE_PAGE(pBt)) ); assert 835 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->autoVacuum ); assert 882 ext/pdo_sqlite/sqlite/src/btree.c assert( pEType!=0 ); assert 902 ext/pdo_sqlite/sqlite/src/btree.c assert( iCell>=0 ); assert 903 ext/pdo_sqlite/sqlite/src/btree.c assert( iCell<get2byte(&data[pPage->hdrOffset+3]) ); assert 943 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->leaf==0 || pPage->leaf==1 ); assert 945 ext/pdo_sqlite/sqlite/src/btree.c assert( n==4-4*pPage->leaf ); assert 1037 ext/pdo_sqlite/sqlite/src/btree.c assert( (info.nData+(pPage->intKey?0:info.nKey))==info.nPayload ); assert 1062 ext/pdo_sqlite/sqlite/src/btree.c assert( p->inTrans!=TRANS_NONE || p->pBt->nTransaction<p->pBt->nRef ); \ assert 1063 ext/pdo_sqlite/sqlite/src/btree.c assert( p->pBt->nTransaction<=p->pBt->nRef ); \ assert 1064 ext/pdo_sqlite/sqlite/src/btree.c assert( p->pBt->inTransaction!=TRANS_NONE || p->pBt->nTransaction==0 ); \ assert 1065 ext/pdo_sqlite/sqlite/src/btree.c assert( p->pBt->inTransaction>=p->inTrans ); assert 1086 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1087 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pBt!=0 ); assert 1088 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pBt->usableSize <= SQLITE_MAX_PAGE_SIZE ); assert 1089 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->nOverflow==0 ); assert 1096 ext/pdo_sqlite/sqlite/src/btree.c assert( nCell==get2byte(&data[hdr+3]) ); assert 1105 ext/pdo_sqlite/sqlite/src/btree.c assert( pc<pPage->pBt->usableSize ); assert 1111 ext/pdo_sqlite/sqlite/src/btree.c assert( brk>=cellOffset+2*nCell ); assert 1144 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1145 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pBt ); assert 1183 ext/pdo_sqlite/sqlite/src/btree.c assert( cellOffset + 2*nCell <= top ); assert 1200 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pBt!=0 ); assert 1201 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1202 ext/pdo_sqlite/sqlite/src/btree.c assert( start>=pPage->hdrOffset+6+(pPage->leaf?0:4) ); assert 1203 ext/pdo_sqlite/sqlite/src/btree.c assert( (start + size)<=pPage->pBt->usableSize ); assert 1216 ext/pdo_sqlite/sqlite/src/btree.c assert( pbegin<=pPage->pBt->usableSize-4 ); assert 1217 ext/pdo_sqlite/sqlite/src/btree.c assert( pbegin>addr ); assert 1220 ext/pdo_sqlite/sqlite/src/btree.c assert( pbegin<=pPage->pBt->usableSize-4 ); assert 1221 ext/pdo_sqlite/sqlite/src/btree.c assert( pbegin>addr || pbegin==0 ); assert 1231 ext/pdo_sqlite/sqlite/src/btree.c assert( pbegin>addr ); assert 1232 ext/pdo_sqlite/sqlite/src/btree.c assert( pbegin<=pPage->pBt->usableSize-4 ); assert 1237 ext/pdo_sqlite/sqlite/src/btree.c assert( frag<=data[pPage->hdrOffset+7] ); assert 1263 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->hdrOffset==(pPage->pgno==1 ? 100 : 0) ); assert 1308 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt!=0 ); assert 1309 ext/pdo_sqlite/sqlite/src/btree.c assert( pParent==0 || pParent->pBt==pBt ); assert 1310 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pgno==sqlite3PagerPagenumber(pPage->pDbPage) ); assert 1311 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->aData == &((unsigned char*)pPage)[-pBt->pageSize] ); assert 1377 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerPagenumber(pPage->pDbPage)==pPage->pgno ); assert 1378 ext/pdo_sqlite/sqlite/src/btree.c assert( &data[pBt->pageSize] == (unsigned char*)pPage ); assert 1379 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1452 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->aData ); assert 1453 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pBt ); assert 1454 ext/pdo_sqlite/sqlite/src/btree.c assert( &pPage->aData[pPage->pBt->pageSize]==(unsigned char*)pPage ); assert 1466 ext/pdo_sqlite/sqlite/src/btree.c assert( (pageSize & 7)==0 ); assert 1486 ext/pdo_sqlite/sqlite/src/btree.c assert( (pageSize & 7)==0 ); assert 1546 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->nRef>0 ); assert 1564 ext/pdo_sqlite/sqlite/src/btree.c assert( sizeof(i64)==8 || sizeof(i64)==4 ); assert 1565 ext/pdo_sqlite/sqlite/src/btree.c assert( sizeof(u64)==8 || sizeof(u64)==4 ); assert 1566 ext/pdo_sqlite/sqlite/src/btree.c assert( sizeof(u32)==4 ); assert 1567 ext/pdo_sqlite/sqlite/src/btree.c assert( sizeof(u16)==2 ); assert 1568 ext/pdo_sqlite/sqlite/src/btree.c assert( sizeof(Pgno)==4 ); assert 1626 ext/pdo_sqlite/sqlite/src/btree.c assert( (pBt->pageSize & 7)==0 ); /* 8-byte alignment of pageSize */ assert 1678 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->nRef>0 ); assert 1690 ext/pdo_sqlite/sqlite/src/btree.c assert( pTsd==sqlite3ThreadData() ); assert 1696 ext/pdo_sqlite/sqlite/src/btree.c assert( pTsd==sqlite3ThreadData() ); assert 1703 ext/pdo_sqlite/sqlite/src/btree.c assert( !pBt->pCursor ); assert 1766 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt && pBt->pPager ); assert 1796 ext/pdo_sqlite/sqlite/src/btree.c assert( (pageSize & 7)==0 ); assert 1797 ext/pdo_sqlite/sqlite/src/btree.c assert( !pBt->pPage1 && !pBt->pCursor ); assert 1883 ext/pdo_sqlite/sqlite/src/btree.c assert( (pageSize & 7)==0 ); assert 1917 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->maxLeaf + 23 <= MX_CELL_SIZE(pBt) ); assert 1984 ext/pdo_sqlite/sqlite/src/btree.c assert( pP1!=0 ); assert 1989 ext/pdo_sqlite/sqlite/src/btree.c assert( sizeof(zMagicHeader)==16 ); assert 2230 ext/pdo_sqlite/sqlite/src/btree.c assert( eType==PTRMAP_OVERFLOW2 || eType==PTRMAP_OVERFLOW1 || assert 2319 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->autoVacuum ); assert 2396 ext/pdo_sqlite/sqlite/src/btree.c assert( iFreePage<=origSize ); assert 2421 ext/pdo_sqlite/sqlite/src/btree.c assert( finSize!=PENDING_BYTE_PAGE(pBt) ); assert 2424 ext/pdo_sqlite/sqlite/src/btree.c assert( nRef==sqlite3PagerRefcount(pPager) ); assert 2500 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->inTransaction==TRANS_WRITE ); assert 2501 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->nTransaction>0 ); assert 2618 ext/pdo_sqlite/sqlite/src/btree.c assert( TRANS_WRITE==pBt->inTransaction ); assert 2630 ext/pdo_sqlite/sqlite/src/btree.c assert( countWriteCursors(pBt)==0 ); assert 2635 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->nTransaction>0 ); assert 2671 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->inTransaction==TRANS_WRITE ); assert 2708 ext/pdo_sqlite/sqlite/src/btree.c assert( countWriteCursors(pBt)==0 ); assert 2910 ext/pdo_sqlite/sqlite/src/btree.c assert( memcmp(&info, &pCur->info, sizeof(info))==0 ); assert 2926 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_INVALID || pCur->eState==CURSOR_VALID ); assert 2947 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_INVALID || pCur->eState==CURSOR_VALID ); assert 2983 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur!=0 && pCur->pPage!=0 ); assert 2984 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 2987 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pPage->nCell ); assert 2995 ext/pdo_sqlite/sqlite/src/btree.c assert( offset>=0 ); assert 3062 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3063 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage!=0 ); assert 3067 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage->intKey==0 ); assert 3068 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pCur->pPage->nCell ); assert 3086 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3087 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage!=0 ); assert 3088 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pCur->pPage->nCell ); assert 3123 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur!=0 && pCur->pPage!=0 ); assert 3124 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3126 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pPage->nCell ); assert 3184 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3230 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3232 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage!=0 ); assert 3233 ext/pdo_sqlite/sqlite/src/btree.c assert( !isRootPage(pPage) ); assert 3235 ext/pdo_sqlite/sqlite/src/btree.c assert( pParent!=0 ); assert 3241 ext/pdo_sqlite/sqlite/src/btree.c assert( pParent->idxShift==0 ); assert 3258 ext/pdo_sqlite/sqlite/src/btree.c assert( pRoot->isInit ); assert 3273 ext/pdo_sqlite/sqlite/src/btree.c assert( pRoot->pgno==1 ); assert 3275 ext/pdo_sqlite/sqlite/src/btree.c assert( subpage>0 ); assert 3295 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3297 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pPage->nCell ); assert 3320 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3341 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage->nCell==0 ); assert 3345 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage->nCell>0 ); assert 3360 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage->nCell==0 ); assert 3364 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3407 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage ); assert 3408 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage->isInit ); assert 3411 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->pPage->nCell==0 ); assert 3483 ext/pdo_sqlite/sqlite/src/btree.c assert( lwr==upr+1 ); assert 3484 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->isInit ); assert 3493 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pCur->pPage->nCell ); assert 3536 ext/pdo_sqlite/sqlite/src/btree.c assert( pRes!=0 ); assert 3549 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->isInit ); assert 3550 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx<pPage->nCell ); assert 3614 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->isInit ); assert 3615 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx>=0 ); assert 3692 ext/pdo_sqlite/sqlite/src/btree.c assert( nearby>0 ); assert 3693 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->autoVacuum ); assert 3732 ext/pdo_sqlite/sqlite/src/btree.c assert( pPrevTrunk==0 ); assert 3751 ext/pdo_sqlite/sqlite/src/btree.c assert( *pPgno==iTrunk ); assert 3863 ext/pdo_sqlite/sqlite/src/btree.c assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); assert 3868 ext/pdo_sqlite/sqlite/src/btree.c assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); assert 3878 ext/pdo_sqlite/sqlite/src/btree.c assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); assert 3897 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pgno>1 ); assert 3986 ext/pdo_sqlite/sqlite/src/btree.c assert( ovflPgno==0 || nOvfl>0 ); assert 4048 ext/pdo_sqlite/sqlite/src/btree.c assert( info.nHeader==nHeader ); assert 4049 ext/pdo_sqlite/sqlite/src/btree.c assert( info.nKey==nKey ); assert 4050 ext/pdo_sqlite/sqlite/src/btree.c assert( info.nData==nData ); assert 4099 ext/pdo_sqlite/sqlite/src/btree.c assert( pSrc ); assert 4124 ext/pdo_sqlite/sqlite/src/btree.c assert( pNewParent!=0 ); assert 4126 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->pPager!=0 ); assert 4131 ext/pdo_sqlite/sqlite/src/btree.c assert( pThis->aData==(sqlite3PagerGetData(pDbPage)) ); assert 4198 ext/pdo_sqlite/sqlite/src/btree.c assert( idx>=0 && idx<pPage->nCell ); assert 4199 ext/pdo_sqlite/sqlite/src/btree.c assert( sz==cellSize(pPage, idx) ); assert 4200 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 4204 ext/pdo_sqlite/sqlite/src/btree.c assert( pc>10 && pc+sz<=pPage->pBt->usableSize ); assert 4251 ext/pdo_sqlite/sqlite/src/btree.c assert( i>=0 && i<=pPage->nCell+pPage->nOverflow ); assert 4252 ext/pdo_sqlite/sqlite/src/btree.c assert( sz==cellSizePtr(pPage, pCell) ); assert 4253 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 4260 ext/pdo_sqlite/sqlite/src/btree.c assert( j<sizeof(pPage->aOvfl)/sizeof(pPage->aOvfl[0]) ); assert 4275 ext/pdo_sqlite/sqlite/src/btree.c assert( end + sz <= top ); assert 4278 ext/pdo_sqlite/sqlite/src/btree.c assert( idx>0 ); assert 4279 ext/pdo_sqlite/sqlite/src/btree.c assert( end <= get2byte(&data[hdr+5]) ); assert 4297 ext/pdo_sqlite/sqlite/src/btree.c assert( (info.nData+(pPage->intKey?0:info.nKey))==info.nPayload ); assert 4327 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->nOverflow==0 ); assert 4332 ext/pdo_sqlite/sqlite/src/btree.c assert( totalSize+2*nCell<=pPage->nFree ); assert 4333 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->nCell==0 ); assert 4340 ext/pdo_sqlite/sqlite/src/btree.c assert( cellbody>0 ); assert 4341 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->nFree >= 2*nCell ); assert 4349 ext/pdo_sqlite/sqlite/src/btree.c assert( cellbody==pPage->pBt->usableSize ); assert 4423 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->nCell>0 ); assert 4429 ext/pdo_sqlite/sqlite/src/btree.c assert( parentSize<64 ); assert 4541 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->isInit ); assert 4542 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 4545 ext/pdo_sqlite/sqlite/src/btree.c assert( pParent ); assert 4584 ext/pdo_sqlite/sqlite/src/btree.c assert( pgno==sqlite3PagerPagenumber(pPage->pDbPage) ); assert 4590 ext/pdo_sqlite/sqlite/src/btree.c assert( idx<pParent->nCell assert 4622 ext/pdo_sqlite/sqlite/src/btree.c assert( !pParent->leaf ); assert 4633 ext/pdo_sqlite/sqlite/src/btree.c assert( i==nOld ); assert 4658 ext/pdo_sqlite/sqlite/src/btree.c assert( ((aCopy[0] - (u8*)apCell) & 7)==0 ); /* 8-byte alignment required */ assert 4661 ext/pdo_sqlite/sqlite/src/btree.c assert( ((aCopy[i] - (u8*)apCell) & 7)==0 ); /* 8-byte alignment required */ assert 4664 ext/pdo_sqlite/sqlite/src/btree.c assert( ((aSpace - (u8*)apCell) & 7)==0 ); /* 8-byte alignment required */ assert 4709 ext/pdo_sqlite/sqlite/src/btree.c assert( nCell<nMaxCells ); assert 4737 ext/pdo_sqlite/sqlite/src/btree.c assert( nCell<nMaxCells ); assert 4741 ext/pdo_sqlite/sqlite/src/btree.c assert( iSpace<=pBt->pageSize*5 ); assert 4751 ext/pdo_sqlite/sqlite/src/btree.c assert( get4byte(pTemp)==pgnoOld[i] ); assert 4753 ext/pdo_sqlite/sqlite/src/btree.c assert( leafCorrection==0 ); assert 4758 ext/pdo_sqlite/sqlite/src/btree.c assert( leafCorrection==4 ); assert 4783 ext/pdo_sqlite/sqlite/src/btree.c assert( i<nMaxCells ); assert 4815 ext/pdo_sqlite/sqlite/src/btree.c assert( d<nMaxCells ); assert 4816 ext/pdo_sqlite/sqlite/src/btree.c assert( r<nMaxCells ); assert 4832 ext/pdo_sqlite/sqlite/src/btree.c assert( cntNew[0]>0 || (pParent->pgno==1 && pParent->nCell==0) ); assert 4837 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pgno>1 ); assert 4849 ext/pdo_sqlite/sqlite/src/btree.c assert( i>0 ); assert 4920 ext/pdo_sqlite/sqlite/src/btree.c assert( j<nMaxCells ); assert 4921 ext/pdo_sqlite/sqlite/src/btree.c assert( pNew->pgno==pgnoNew[i] ); assert 4923 ext/pdo_sqlite/sqlite/src/btree.c assert( pNew->nCell>0 || (nNew==1 && cntNew[0]==0) ); assert 4924 ext/pdo_sqlite/sqlite/src/btree.c assert( pNew->nOverflow==0 ); assert 4934 ext/pdo_sqlite/sqlite/src/btree.c assert( k<nMaxCells ); assert 4955 ext/pdo_sqlite/sqlite/src/btree.c assert( j<nMaxCells ); assert 4973 ext/pdo_sqlite/sqlite/src/btree.c assert( iSpace<=pBt->pageSize*5 ); assert 4979 ext/pdo_sqlite/sqlite/src/btree.c assert( iSpace<=pBt->pageSize*5 ); assert 5000 ext/pdo_sqlite/sqlite/src/btree.c assert( j==nCell ); assert 5001 ext/pdo_sqlite/sqlite/src/btree.c assert( nOld>0 ); assert 5002 ext/pdo_sqlite/sqlite/src/btree.c assert( nNew>0 ); assert 5030 ext/pdo_sqlite/sqlite/src/btree.c assert( pParent->isInit ); assert 5064 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pParent==0 ); assert 5065 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->nCell==0 ); assert 5088 ext/pdo_sqlite/sqlite/src/btree.c assert( pgnoChild>0 ); assert 5089 ext/pdo_sqlite/sqlite/src/btree.c assert( pgnoChild<=sqlite3PagerPagecount(pPage->pBt->pPager) ); assert 5095 ext/pdo_sqlite/sqlite/src/btree.c assert( pChild->nOverflow==0 ); assert 5121 ext/pdo_sqlite/sqlite/src/btree.c assert( rc==SQLITE_OK ); assert 5127 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->nOverflow==0 ); assert 5168 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->pParent==0 ); assert 5169 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->nOverflow>0 ); assert 5173 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pChild->pDbPage) ); assert 5181 ext/pdo_sqlite/sqlite/src/btree.c assert( pChild->isInit==0 ); assert 5189 ext/pdo_sqlite/sqlite/src/btree.c assert( pChild->nCell==pPage->nCell ); assert 5299 ext/pdo_sqlite/sqlite/src/btree.c assert( !pBt->readOnly ); assert 5317 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->intKey || nKey>=0 ); assert 5318 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->leaf || !pPage->leafData ); assert 5322 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->isInit ); assert 5329 ext/pdo_sqlite/sqlite/src/btree.c assert( szNew==cellSizePtr(pPage, newCell) ); assert 5330 ext/pdo_sqlite/sqlite/src/btree.c assert( szNew<=MX_CELL_SIZE(pBt) ); assert 5333 ext/pdo_sqlite/sqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pPage->nCell ); assert 5343 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->leaf ); assert 5347 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->leaf ); assert 5373 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->isInit ); assert 5378 ext/pdo_sqlite/sqlite/src/btree.c assert( !pBt->readOnly ); assert 5428 ext/pdo_sqlite/sqlite/src/btree.c assert( !pPage->leafData ); assert 5440 ext/pdo_sqlite/sqlite/src/btree.c assert( MX_CELL_SIZE(pBt)>=szNext+4 ); assert 5491 ext/pdo_sqlite/sqlite/src/btree.c assert( !pBt->readOnly ); assert 5525 ext/pdo_sqlite/sqlite/src/btree.c assert( pgnoRoot>=3 ); assert 5558 ext/pdo_sqlite/sqlite/src/btree.c assert( eType!=PTRMAP_ROOTPAGE ); assert 5559 ext/pdo_sqlite/sqlite/src/btree.c assert( eType!=PTRMAP_FREEPAGE ); assert 5602 ext/pdo_sqlite/sqlite/src/btree.c assert( sqlite3PagerIswriteable(pRoot->pDbPage) ); assert 5793 ext/pdo_sqlite/sqlite/src/btree.c assert( maxRootPgno!=PENDING_BYTE_PAGE(pBt) ); assert 5836 ext/pdo_sqlite/sqlite/src/btree.c assert( idx>=0 && idx<=15 ); assert 5863 ext/pdo_sqlite/sqlite/src/btree.c assert( idx>=1 && idx<=15 ); assert 5867 ext/pdo_sqlite/sqlite/src/btree.c assert( pBt->pPage1!=0 ); assert 5925 ext/pdo_sqlite/sqlite/src/btree.c assert( hdr == (pgno==1 ? 100 : 0) ); assert 6022 ext/pdo_sqlite/sqlite/src/btree.c assert( pPage->isInit ); assert 6029 ext/pdo_sqlite/sqlite/src/btree.c assert( aResult[0]==pPage->pgno ); assert 6314 ext/pdo_sqlite/sqlite/src/btree.c assert( sz==info.nPayload ); assert 6519 ext/pdo_sqlite/sqlite/src/btree.c assert( p->pBt->pPager!=0 ); assert 6527 ext/pdo_sqlite/sqlite/src/btree.c assert( p->pBt->pPager!=0 ); assert 6537 ext/pdo_sqlite/sqlite/src/btree.c assert( p->pBt->pPager!=0 ); assert 102 ext/pdo_sqlite/sqlite/src/build.c assert( sqlite3ThreadDataReadOnly()->useSharedData || pParse->nTableLock==0 ); assert 233 ext/pdo_sqlite/sqlite/src/build.c assert( pParse->nested<10 ); /* Nesting should only be of limited depth */ assert 264 ext/pdo_sqlite/sqlite/src/build.c assert( zName!=0 ); assert 324 ext/pdo_sqlite/sqlite/src/build.c assert( pSchema || (j==1 && !db->aDb[1].pBt) ); assert 354 ext/pdo_sqlite/sqlite/src/build.c assert( pOld==0 || pOld==p ); assert 400 ext/pdo_sqlite/sqlite/src/build.c assert( iDb>=0 && iDb<db->nDb ); assert 408 ext/pdo_sqlite/sqlite/src/build.c assert( iDb==0 ); assert 458 ext/pdo_sqlite/sqlite/src/build.c assert( pTable!=0 ); assert 493 ext/pdo_sqlite/sqlite/src/build.c assert( pTable->nRef==0 ); assert 499 ext/pdo_sqlite/sqlite/src/build.c assert( pIndex->pSchema==pTable->pSchema ); assert 509 ext/pdo_sqlite/sqlite/src/build.c assert( sqlite3HashFind(&pTable->pSchema->aFKey, assert 537 ext/pdo_sqlite/sqlite/src/build.c assert( db!=0 ); assert 538 ext/pdo_sqlite/sqlite/src/build.c assert( iDb>=0 && iDb<db->nDb ); assert 539 ext/pdo_sqlite/sqlite/src/build.c assert( zTabName && zTabName[0] ); assert 647 ext/pdo_sqlite/sqlite/src/build.c assert( !db->init.busy ); assert 656 ext/pdo_sqlite/sqlite/src/build.c assert( db->init.iDb==0 || db->init.busy ); assert 746 ext/pdo_sqlite/sqlite/src/build.c assert( (isTemp & 1)==isTemp ); assert 1186 ext/pdo_sqlite/sqlite/src/build.c assert( pIdx->nColumn==1 ); assert 1380 ext/pdo_sqlite/sqlite/src/build.c assert( !db->init.busy || !pSelect ); assert 1475 ext/pdo_sqlite/sqlite/src/build.c assert( p->aCol==0 ); assert 1540 ext/pdo_sqlite/sqlite/src/build.c assert( p==pOld ); /* Malloc must have failed inside HashInsert() */ assert 1558 ext/pdo_sqlite/sqlite/src/build.c assert( !pSelect && pCons && pEnd ); assert 1656 ext/pdo_sqlite/sqlite/src/build.c assert( pTable ); assert 1685 ext/pdo_sqlite/sqlite/src/build.c assert( pTable->nCol>=0 ); assert 1694 ext/pdo_sqlite/sqlite/src/build.c assert( pTable->pSelect ); assert 1703 ext/pdo_sqlite/sqlite/src/build.c assert( pTable->aCol==0 ); assert 1848 ext/pdo_sqlite/sqlite/src/build.c assert( pIdx->pSchema==pTab->pSchema ); assert 1877 ext/pdo_sqlite/sqlite/src/build.c assert( pName->nSrc==1 ); assert 1887 ext/pdo_sqlite/sqlite/src/build.c assert( iDb>=0 && iDb<db->nDb ); assert 1969 ext/pdo_sqlite/sqlite/src/build.c assert( pTrigger->pSchema==pTab->pSchema || assert 2051 ext/pdo_sqlite/sqlite/src/build.c assert( pTo!=0 ); assert 2206 ext/pdo_sqlite/sqlite/src/build.c assert( sqlite3MallocFailed() || addr2==sqlite3VdbeCurrentAddr(v) ); assert 2269 ext/pdo_sqlite/sqlite/src/build.c assert( pName1 && pName2 ); assert 2288 ext/pdo_sqlite/sqlite/src/build.c assert(0); assert 2293 ext/pdo_sqlite/sqlite/src/build.c assert( db->aDb[iDb].pSchema==pTab->pSchema ); assert 2295 ext/pdo_sqlite/sqlite/src/build.c assert( pName==0 ); assert 2464 ext/pdo_sqlite/sqlite/src/build.c assert( pListItem->pExpr->pColl ); assert 2500 ext/pdo_sqlite/sqlite/src/build.c assert( pIdx->onError!=OE_None ); assert 2501 ext/pdo_sqlite/sqlite/src/build.c assert( pIdx->autoIndex ); assert 2502 ext/pdo_sqlite/sqlite/src/build.c assert( pIndex->onError!=OE_None ); assert 2542 ext/pdo_sqlite/sqlite/src/build.c assert( p==pIndex ); /* Malloc must have failed */ assert 2689 ext/pdo_sqlite/sqlite/src/build.c assert( a!=0 ); assert 2716 ext/pdo_sqlite/sqlite/src/build.c assert( pName->nSrc==1 ); assert 2932 ext/pdo_sqlite/sqlite/src/build.c assert(pList || sqlite3MallocFailed() ); assert 3110 ext/pdo_sqlite/sqlite/src/build.c assert( db->aDb[1].pSchema ); assert 3149 ext/pdo_sqlite/sqlite/src/build.c assert( iDb<db->nDb ); assert 3150 ext/pdo_sqlite/sqlite/src/build.c assert( db->aDb[iDb].pBt!=0 || iDb==1 ); assert 3151 ext/pdo_sqlite/sqlite/src/build.c assert( iDb<MAX_ATTACHED+2 ); assert 3243 ext/pdo_sqlite/sqlite/src/build.c assert( pDb!=0 ); assert 3286 ext/pdo_sqlite/sqlite/src/build.c assert( pName1->z ); assert 3336 ext/pdo_sqlite/sqlite/src/build.c assert( &pKey->aSortOrder[nCol]==&(((u8 *)pKey)[nBytes]) ); assert 3339 ext/pdo_sqlite/sqlite/src/build.c assert( zColl ); assert 27 ext/pdo_sqlite/sqlite/src/callback.c assert( !db->xCollNeeded || !db->xCollNeeded16 ); assert 107 ext/pdo_sqlite/sqlite/src/callback.c assert( !p || p->xCmp ); assert 133 ext/pdo_sqlite/sqlite/src/callback.c assert( p==pColl ); assert 181 ext/pdo_sqlite/sqlite/src/callback.c assert( !pDel || (sqlite3MallocFailed() && pDel==pColl) ); assert 217 ext/pdo_sqlite/sqlite/src/callback.c assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 ); assert 218 ext/pdo_sqlite/sqlite/src/callback.c assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE ); assert 257 ext/pdo_sqlite/sqlite/src/callback.c assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE ); assert 571 ext/pdo_sqlite/sqlite/src/date.c assert( n>=1 ); assert 76 ext/pdo_sqlite/sqlite/src/delete.c assert( opcode==OP_OpenWrite || opcode==OP_OpenRead ); assert 122 ext/pdo_sqlite/sqlite/src/delete.c assert( pTabList->nSrc==1 ); assert 151 ext/pdo_sqlite/sqlite/src/delete.c assert( iDb<db->nDb ); assert 171 ext/pdo_sqlite/sqlite/src/delete.c assert( pTabList->nSrc==1 ); assert 237 ext/pdo_sqlite/sqlite/src/delete.c assert( pIdx->pSchema==pTab->pSchema ); assert 111 ext/pdo_sqlite/sqlite/src/expr.c assert( aff1==0 || aff2==0 ); assert 122 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op==TK_EQ || pExpr->op==TK_IN || pExpr->op==TK_LT || assert 125 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->pLeft ); assert 180 ext/pdo_sqlite/sqlite/src/expr.c assert( pLeft ); assert 181 ext/pdo_sqlite/sqlite/src/expr.c assert( pRight ); assert 183 ext/pdo_sqlite/sqlite/src/expr.c assert( pLeft->pColl ); assert 186 ext/pdo_sqlite/sqlite/src/expr.c assert( pRight->pColl ); assert 235 ext/pdo_sqlite/sqlite/src/expr.c assert( pToken->dyn==0 ); assert 316 ext/pdo_sqlite/sqlite/src/expr.c assert( pRight!=0 ); assert 317 ext/pdo_sqlite/sqlite/src/expr.c assert( pLeft!=0 ); assert 319 ext/pdo_sqlite/sqlite/src/expr.c assert( pLeft->dyn==0 || pLeft->z[pLeft->n]==0 ); assert 335 ext/pdo_sqlite/sqlite/src/expr.c assert( pToken ); assert 343 ext/pdo_sqlite/sqlite/src/expr.c assert( pToken->dyn==0 ); assert 369 ext/pdo_sqlite/sqlite/src/expr.c assert( pToken->n>=1 ); assert 370 ext/pdo_sqlite/sqlite/src/expr.c assert( pToken->z!=0 ); assert 371 ext/pdo_sqlite/sqlite/src/expr.c assert( pToken->z[0]!=0 ); assert 411 ext/pdo_sqlite/sqlite/src/expr.c assert( pParse->apVarExpr!=0 ); assert 470 ext/pdo_sqlite/sqlite/src/expr.c assert( pNew->token.z==0 ); assert 513 ext/pdo_sqlite/sqlite/src/expr.c assert( pNewExpr==0 || pNewExpr->span.z!=0 assert 612 ext/pdo_sqlite/sqlite/src/expr.c assert( p==0 ); assert 628 ext/pdo_sqlite/sqlite/src/expr.c assert( pList->nAlloc==0 ); assert 640 ext/pdo_sqlite/sqlite/src/expr.c assert( pList->a!=0 ); assert 663 ext/pdo_sqlite/sqlite/src/expr.c assert( pList->a!=0 || (pList->nExpr==0 && pList->nAlloc==0) ); assert 664 ext/pdo_sqlite/sqlite/src/expr.c assert( pList->nExpr<=pList->nAlloc ); assert 881 ext/pdo_sqlite/sqlite/src/expr.c assert( pColumnToken && pColumnToken->z ); /* The Z in X.Y.Z cannot be NULL */ assert 901 ext/pdo_sqlite/sqlite/src/expr.c assert( pTab!=0 ); assert 903 ext/pdo_sqlite/sqlite/src/expr.c assert( pTab->nCol>0 ); assert 970 ext/pdo_sqlite/sqlite/src/expr.c assert( pTriggerStack->pTab ); assert 974 ext/pdo_sqlite/sqlite/src/expr.c assert( pTriggerStack->pTab ); assert 1026 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->pLeft==0 && pExpr->pRight==0 ); assert 1031 ext/pdo_sqlite/sqlite/src/expr.c assert( zTab==0 && zDb==0 ); assert 1091 ext/pdo_sqlite/sqlite/src/expr.c assert( pMatch->iCursor==pExpr->iTable ); assert 1108 ext/pdo_sqlite/sqlite/src/expr.c assert( pNC!=0 ); assert 1116 ext/pdo_sqlite/sqlite/src/expr.c assert( pTopNC!=0 ); assert 1143 ext/pdo_sqlite/sqlite/src/expr.c assert( pNC!=0 ); assert 1153 ext/pdo_sqlite/sqlite/src/expr.c assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab); assert 1189 ext/pdo_sqlite/sqlite/src/expr.c assert( pRight->op==TK_DOT ); assert 1280 ext/pdo_sqlite/sqlite/src/expr.c assert( pNC->nRef>=nRef ); assert 1383 ext/pdo_sqlite/sqlite/src/expr.c assert( testAddr>0 || sqlite3MallocFailed() ); assert 1422 ext/pdo_sqlite/sqlite/src/expr.c assert( (pExpr->iTable&0x0000FFFF)==pExpr->iTable ); assert 1588 ext/pdo_sqlite/sqlite/src/expr.c assert( pParse->ckOffset>0 ); assert 1601 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_FLOAT==OP_Real ); assert 1602 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_STRING==OP_String8 ); assert 1615 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_BLOB==OP_HexBlob ); assert 1618 ext/pdo_sqlite/sqlite/src/expr.c assert( n>=0 ); assert 1644 ext/pdo_sqlite/sqlite/src/expr.c assert( to_op==OP_ToText || aff!=SQLITE_AFF_TEXT ); assert 1645 ext/pdo_sqlite/sqlite/src/expr.c assert( to_op==OP_ToBlob || aff!=SQLITE_AFF_NONE ); assert 1646 ext/pdo_sqlite/sqlite/src/expr.c assert( to_op==OP_ToNumeric || aff!=SQLITE_AFF_NUMERIC ); assert 1647 ext/pdo_sqlite/sqlite/src/expr.c assert( to_op==OP_ToInt || aff!=SQLITE_AFF_INTEGER ); assert 1648 ext/pdo_sqlite/sqlite/src/expr.c assert( to_op==OP_ToReal || aff!=SQLITE_AFF_REAL ); assert 1660 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_LT==OP_Lt ); assert 1661 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_LE==OP_Le ); assert 1662 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_GT==OP_Gt ); assert 1663 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_GE==OP_Ge ); assert 1664 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_EQ==OP_Eq ); assert 1665 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_NE==OP_Ne ); assert 1684 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_AND==OP_And ); assert 1685 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_OR==OP_Or ); assert 1686 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_PLUS==OP_Add ); assert 1687 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_MINUS==OP_Subtract ); assert 1688 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_REM==OP_Remainder ); assert 1689 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_BITAND==OP_BitAnd ); assert 1690 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_BITOR==OP_BitOr ); assert 1691 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_SLASH==OP_Divide ); assert 1692 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_LSHIFT==OP_ShiftLeft ); assert 1693 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_RSHIFT==OP_ShiftRight ); assert 1694 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_CONCAT==OP_Concat ); assert 1703 ext/pdo_sqlite/sqlite/src/expr.c assert( pLeft ); assert 1719 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_BITNOT==OP_BitNot ); assert 1720 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_NOT==OP_Not ); assert 1729 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_ISNULL==OP_IsNull ); assert 1730 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_NOTNULL==OP_NotNull ); assert 1763 ext/pdo_sqlite/sqlite/src/expr.c assert( pDef!=0 ); assert 1871 ext/pdo_sqlite/sqlite/src/expr.c assert(pExpr->pList); assert 1872 ext/pdo_sqlite/sqlite/src/expr.c assert((pExpr->pList->nExpr % 2) == 0); assert 1873 ext/pdo_sqlite/sqlite/src/expr.c assert(pExpr->pList->nExpr > 0); assert 1914 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->iColumn==OE_Rollback || assert 1921 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->iColumn == OE_Ignore ); assert 1934 ext/pdo_sqlite/sqlite/src/expr.c assert( pParse->ckOffset ); assert 2028 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_LT==OP_Lt ); assert 2029 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_LE==OP_Le ); assert 2030 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_GT==OP_Gt ); assert 2031 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_GE==OP_Ge ); assert 2032 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_EQ==OP_Eq ); assert 2033 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_NE==OP_Ne ); assert 2041 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_ISNULL==OP_IsNull ); assert 2042 ext/pdo_sqlite/sqlite/src/expr.c assert( TK_NOTNULL==OP_NotNull ); assert 2116 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op!=TK_ISNULL || op==OP_NotNull ); assert 2117 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op!=TK_NOTNULL || op==OP_IsNull ); assert 2118 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op!=TK_NE || op==OP_Eq ); assert 2119 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op!=TK_EQ || op==OP_Ne ); assert 2120 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op!=TK_LT || op==OP_Ge ); assert 2121 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op!=TK_LE || op==OP_Gt ); assert 2122 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op!=TK_GT || op==OP_Le ); assert 2123 ext/pdo_sqlite/sqlite/src/expr.c assert( pExpr->op!=TK_GE || op==OP_Lt ); assert 51 ext/pdo_sqlite/sqlite/src/func.c assert( pColl ); assert 52 ext/pdo_sqlite/sqlite/src/func.c assert( mask==-1 || mask==0 ); assert 94 ext/pdo_sqlite/sqlite/src/func.c assert( argc==1 ); assert 119 ext/pdo_sqlite/sqlite/src/func.c assert( argc==1 ); assert 159 ext/pdo_sqlite/sqlite/src/func.c assert( argc==3 ); assert 196 ext/pdo_sqlite/sqlite/src/func.c assert( argc==1 || argc==2 ); assert 285 ext/pdo_sqlite/sqlite/src/func.c assert( argc==1 ); assert 419 ext/pdo_sqlite/sqlite/src/func.c assert( esc==0 ); /* This is GLOB, not LIKE */ assert 445 ext/pdo_sqlite/sqlite/src/func.c assert( esc==0 ); /* This only occurs for GLOB, not LIKE */ assert 657 ext/pdo_sqlite/sqlite/src/func.c assert( argc==1 ); assert 693 ext/pdo_sqlite/sqlite/src/func.c assert( argc==3 ); assert 724 ext/pdo_sqlite/sqlite/src/func.c assert( j<=nOut ); assert 801 ext/pdo_sqlite/sqlite/src/func.c assert( argc==1 ); assert 883 ext/pdo_sqlite/sqlite/src/func.c assert( n<sizeof(zBuf) ); assert 908 ext/pdo_sqlite/sqlite/src/func.c assert(zVal); assert 923 ext/pdo_sqlite/sqlite/src/func.c assert( nArg==1 ); assert 929 ext/pdo_sqlite/sqlite/src/func.c assert( zVal ); assert 1034 ext/pdo_sqlite/sqlite/src/func.c assert( argc==1 ); assert 1339 ext/pdo_sqlite/sqlite/src/func.c assert( (char*)&likeInfoAlt == (char*)&likeInfoAlt.matchAll ); assert 1340 ext/pdo_sqlite/sqlite/src/func.c assert( &((char*)&likeInfoAlt)[1] == (char*)&likeInfoAlt.matchOne ); assert 1341 ext/pdo_sqlite/sqlite/src/func.c assert( &((char*)&likeInfoAlt)[2] == (char*)&likeInfoAlt.matchSet ); assert 33 ext/pdo_sqlite/sqlite/src/hash.c assert( pNew!=0 ); assert 34 ext/pdo_sqlite/sqlite/src/hash.c assert( keyClass>=SQLITE_HASH_STRING && keyClass<=SQLITE_HASH_BINARY ); assert 55 ext/pdo_sqlite/sqlite/src/hash.c assert( pH!=0 ); assert 159 ext/pdo_sqlite/sqlite/src/hash.c assert( keyClass==SQLITE_HASH_BINARY ); assert 185 ext/pdo_sqlite/sqlite/src/hash.c assert( keyClass==SQLITE_HASH_BINARY ); assert 226 ext/pdo_sqlite/sqlite/src/hash.c assert( (new_size & (new_size-1))==0 ); assert 300 ext/pdo_sqlite/sqlite/src/hash.c assert( pH->first==0 ); assert 301 ext/pdo_sqlite/sqlite/src/hash.c assert( pH->count==0 ); assert 317 ext/pdo_sqlite/sqlite/src/hash.c assert( xHash!=0 ); assert 319 ext/pdo_sqlite/sqlite/src/hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 346 ext/pdo_sqlite/sqlite/src/hash.c assert( pH!=0 ); assert 348 ext/pdo_sqlite/sqlite/src/hash.c assert( xHash!=0 ); assert 350 ext/pdo_sqlite/sqlite/src/hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 391 ext/pdo_sqlite/sqlite/src/hash.c assert( pH->htsize>0 ); assert 392 ext/pdo_sqlite/sqlite/src/hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 148 ext/pdo_sqlite/sqlite/src/insert.c assert( v ); assert 198 ext/pdo_sqlite/sqlite/src/insert.c assert( v ); assert 364 ext/pdo_sqlite/sqlite/src/insert.c assert( pTabList->nSrc==1 ); assert 372 ext/pdo_sqlite/sqlite/src/insert.c assert( iDb<db->nDb ); assert 401 ext/pdo_sqlite/sqlite/src/insert.c assert( pTab!=0 ); assert 432 ext/pdo_sqlite/sqlite/src/insert.c assert( !triggers_exist ); assert 433 ext/pdo_sqlite/sqlite/src/insert.c assert( pList==0 ); assert 469 ext/pdo_sqlite/sqlite/src/insert.c assert( pSelect->pEList ); assert 635 ext/pdo_sqlite/sqlite/src/insert.c assert( pSelect==0 ); /* Otherwise useTempTable is true */ assert 658 ext/pdo_sqlite/sqlite/src/insert.c assert( pSelect==0 ); /* Otherwise useTempTable is true */ assert 951 ext/pdo_sqlite/sqlite/src/insert.c assert( v!=0 ); assert 952 ext/pdo_sqlite/sqlite/src/insert.c assert( pTab->pSelect==0 ); /* This table is not a VIEW */ assert 973 ext/pdo_sqlite/sqlite/src/insert.c assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail assert 1005 ext/pdo_sqlite/sqlite/src/insert.c assert( pParse->ckOffset==0 ); assert 1008 ext/pdo_sqlite/sqlite/src/insert.c assert( pParse->ckOffset==nCol ); assert 1062 ext/pdo_sqlite/sqlite/src/insert.c assert( seenReplace==0 ); assert 1117 ext/pdo_sqlite/sqlite/src/insert.c assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail assert 1149 ext/pdo_sqlite/sqlite/src/insert.c assert( seenReplace==0 ); assert 1198 ext/pdo_sqlite/sqlite/src/insert.c assert( v!=0 ); assert 1199 ext/pdo_sqlite/sqlite/src/insert.c assert( pTab->pSelect==0 ); /* This table is not a VIEW */ assert 1252 ext/pdo_sqlite/sqlite/src/insert.c assert( v!=0 ); assert 1256 ext/pdo_sqlite/sqlite/src/insert.c assert( pIdx->pSchema==pTab->pSchema ); assert 1305 ext/pdo_sqlite/sqlite/src/insert.c assert( pDest && pSrc ); assert 1306 ext/pdo_sqlite/sqlite/src/insert.c assert( pDest->pTable!=pSrc->pTable ); assert 1422 ext/pdo_sqlite/sqlite/src/insert.c assert( pSelect->pOffset==0 ); /* Must be so if pLimit==0 */ assert 1430 ext/pdo_sqlite/sqlite/src/insert.c assert( pEList!=0 ); assert 1434 ext/pdo_sqlite/sqlite/src/insert.c assert( pEList->a[0].pExpr ); assert 1541 ext/pdo_sqlite/sqlite/src/insert.c assert( pDest->autoInc==0 ); assert 1553 ext/pdo_sqlite/sqlite/src/insert.c assert( pSrcIdx ); assert 56 ext/pdo_sqlite/sqlite/src/legacy.c assert( rc==SQLITE_OK || pStmt==0 ); assert 129 ext/pdo_sqlite/sqlite/src/legacy.c assert( (rc&db->errMask)==rc ); assert 384 ext/pdo_sqlite/sqlite/src/loadext.c assert( (rc&0xff)==rc ); assert 147 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3SafetyCheck(db) ); assert 173 ext/pdo_sqlite/sqlite/src/main.c assert( db->nDb<=2 ); assert 174 ext/pdo_sqlite/sqlite/src/main.c assert( db->aDb==db->aDbStatic ); assert 299 ext/pdo_sqlite/sqlite/src/main.c assert( count>=0 ); assert 504 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3MallocFailed() ); assert 537 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3MallocFailed() ); assert 556 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3MallocFailed() ); assert 709 ext/pdo_sqlite/sqlite/src/main.c assert( ppBtree != 0); assert 747 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3MallocFailed() ); assert 787 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3MallocFailed() ); assert 889 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3MallocFailed() ); assert 923 ext/pdo_sqlite/sqlite/src/main.c assert( sqlite3MallocFailed() ); assert 1029 ext/pdo_sqlite/sqlite/src/main.c assert( zFilename ); assert 1030 ext/pdo_sqlite/sqlite/src/main.c assert( ppDb ); assert 1085 ext/pdo_sqlite/sqlite/src/main.c assert( (rc & (sqlite3_db_handle(pStmt)->errMask))==rc ); assert 1101 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3MallocFailed() ); assert 1119 ext/pdo_sqlite/sqlite/src/main.c assert( !sqlite3MallocFailed() ); assert 1218 ext/pdo_sqlite/sqlite/src/main.c assert( pTd->useSharedData ); assert 150 ext/pdo_sqlite/sqlite/src/os_common.h assert(n>0); assert 151 ext/pdo_sqlite/sqlite/src/os_common.h assert(sizeof(int)<=8); assert 160 ext/pdo_sqlite/sqlite/src/os_common.h assert(n>0); assert 169 ext/pdo_sqlite/sqlite/src/os_common.h assert(p); assert 181 ext/pdo_sqlite/sqlite/src/os_common.h assert(n>0); assert 186 ext/pdo_sqlite/sqlite/src/os_common.h assert(p); assert 79 ext/pdo_sqlite/sqlite/src/os_test.c assert( strlen(zFile)<256 ); assert 140 ext/pdo_sqlite/sqlite/src/os_test.c assert( p ); assert 338 ext/pdo_sqlite/sqlite/src/os_test.c assert( zCsr==&((u8 *)pBuf)[amt] ); assert 369 ext/pdo_sqlite/sqlite/src/os_test.c assert( pBlk ); assert 384 ext/pdo_sqlite/sqlite/src/os_test.c assert( zCsr==&((u8 *)pBuf)[amt] ); assert 455 ext/pdo_sqlite/sqlite/src/os_unix.c assert( 0 ); assert 457 ext/pdo_sqlite/sqlite/src/os_unix.c assert( p->l_whence==SEEK_SET ); assert 474 ext/pdo_sqlite/sqlite/src/os_unix.c assert( 0 ); assert 531 ext/pdo_sqlite/sqlite/src/os_unix.c assert( sqlite3OsInMutex(1) ); assert 545 ext/pdo_sqlite/sqlite/src/os_unix.c assert( sqlite3OsInMutex(1) ); assert 648 ext/pdo_sqlite/sqlite/src/os_unix.c assert( sqlite3OsInMutex(1) ); assert 675 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pOld==pLock ); assert 701 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pOld==pOpen ); assert 830 ext/pdo_sqlite/sqlite/src/os_unix.c assert( 0==*pId ); assert 869 ext/pdo_sqlite/sqlite/src/os_unix.c assert( 0==*pId ); assert 890 ext/pdo_sqlite/sqlite/src/os_unix.c assert( 0==*pId ); assert 922 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile!=0 ); assert 924 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile->dirfd<0 ); assert 1026 ext/pdo_sqlite/sqlite/src/os_unix.c assert( id ); assert 1072 ext/pdo_sqlite/sqlite/src/os_unix.c assert( id ); assert 1073 ext/pdo_sqlite/sqlite/src/os_unix.c assert( amt>0 ); assert 1094 ext/pdo_sqlite/sqlite/src/os_unix.c assert( id ); assert 1207 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile ); assert 1273 ext/pdo_sqlite/sqlite/src/os_unix.c assert( id ); assert 1289 ext/pdo_sqlite/sqlite/src/os_unix.c assert( id ); assert 1309 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile ); assert 1406 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile ); assert 1423 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); assert 1424 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype!=PENDING_LOCK ); assert 1425 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); assert 1456 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype==SHARED_LOCK ); assert 1457 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile->locktype==0 ); assert 1458 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pLock->cnt>0 ); assert 1490 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pLock->cnt==0 ); assert 1491 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pLock->locktype==0 ); assert 1522 ext/pdo_sqlite/sqlite/src/os_unix.c assert( 0!=pFile->locktype ); assert 1533 ext/pdo_sqlite/sqlite/src/os_unix.c assert(0); assert 1569 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile ); assert 1573 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype<=SHARED_LOCK ); assert 1582 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pLock->cnt!=0 ); assert 1584 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pLock->locktype==pFile->locktype ); assert 1598 ext/pdo_sqlite/sqlite/src/os_unix.c lock.l_len = 2L; assert( PENDING_BYTE+1==RESERVED_BYTE ); assert 1630 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pOpen->nLock>=0 ); assert 1752 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile ); assert 1788 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile ); assert 1803 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); assert 1804 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype!=PENDING_LOCK ); assert 1805 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); assert 1865 ext/pdo_sqlite/sqlite/src/os_unix.c assert( 0!=pFile->locktype ); assert 1921 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pFile ); assert 1925 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype<=SHARED_LOCK ); assert 2056 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype<=SHARED_LOCK ); assert 2171 ext/pdo_sqlite/sqlite/src/os_unix.c assert( locktype<=SHARED_LOCK ); assert 2738 ext/pdo_sqlite/sqlite/src/os_unix.c assert( inMutex==0 ); assert 2739 ext/pdo_sqlite/sqlite/src/os_unix.c assert( !mutexOwnerValid ); assert 2751 ext/pdo_sqlite/sqlite/src/os_unix.c assert( inMutex>0 ); assert 2755 ext/pdo_sqlite/sqlite/src/os_unix.c assert( pthread_equal(mutexOwner, pthread_self()) ); assert 2757 ext/pdo_sqlite/sqlite/src/os_unix.c assert( mutexOwnerValid ); assert 675 ext/pdo_sqlite/sqlite/src/os_win.c assert( *pId==0 ); assert 781 ext/pdo_sqlite/sqlite/src/os_win.c assert( *pId == 0 ); assert 847 ext/pdo_sqlite/sqlite/src/os_win.c assert( *pId==0 ); assert 999 ext/pdo_sqlite/sqlite/src/os_win.c assert( id!=0 ); assert 1020 ext/pdo_sqlite/sqlite/src/os_win.c assert( id!=0 ); assert 1024 ext/pdo_sqlite/sqlite/src/os_win.c assert( amt>0 ); assert 1050 ext/pdo_sqlite/sqlite/src/os_win.c assert( id!=0 ); assert 1066 ext/pdo_sqlite/sqlite/src/os_win.c assert( id!=0 ); assert 1089 ext/pdo_sqlite/sqlite/src/os_win.c assert( id!=0 ); assert 1102 ext/pdo_sqlite/sqlite/src/os_win.c assert( id!=0 ); assert 1217 ext/pdo_sqlite/sqlite/src/os_win.c assert( pFile!=0 ); assert 1231 ext/pdo_sqlite/sqlite/src/os_win.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); assert 1232 ext/pdo_sqlite/sqlite/src/os_win.c assert( locktype!=PENDING_LOCK ); assert 1233 ext/pdo_sqlite/sqlite/src/os_win.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); assert 1257 ext/pdo_sqlite/sqlite/src/os_win.c assert( pFile->locktype==NO_LOCK ); assert 1267 ext/pdo_sqlite/sqlite/src/os_win.c assert( pFile->locktype==SHARED_LOCK ); assert 1284 ext/pdo_sqlite/sqlite/src/os_win.c assert( pFile->locktype>=SHARED_LOCK ); assert 1324 ext/pdo_sqlite/sqlite/src/os_win.c assert( pFile!=0 ); assert 1354 ext/pdo_sqlite/sqlite/src/os_win.c assert( pFile!=0 ); assert 1355 ext/pdo_sqlite/sqlite/src/os_win.c assert( locktype<=SHARED_LOCK ); assert 1629 ext/pdo_sqlite/sqlite/src/os_win.c assert( inMutex ); assert 1632 ext/pdo_sqlite/sqlite/src/os_win.c assert( mutexOwner==GetCurrentThreadId() ); assert 425 ext/pdo_sqlite/sqlite/src/pager.c assert( N>0 && (N&(N-1))==0 ); assert 437 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->pNextHash==0 && pPg->pPrevHash==0 ); assert 509 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->errCode==SQLITE_FULL || pPager->errCode==SQLITE_OK ); assert 542 ext/pdo_sqlite/sqlite/src/pager.c assert( !pPg->pageHash || pPager->errCode || MEMDB || pPg->dirty || assert 639 ext/pdo_sqlite/sqlite/src/pager.c assert( offset%JOURNAL_HDR_SZ(pPager)==0 ); assert 640 ext/pdo_sqlite/sqlite/src/pager.c assert( offset>=c ); assert 641 ext/pdo_sqlite/sqlite/src/pager.c assert( (offset-c)<JOURNAL_HDR_SZ(pPager) ); assert 841 ext/pdo_sqlite/sqlite/src/pager.c assert( MEMDB ); assert 843 ext/pdo_sqlite/sqlite/src/pager.c assert( pHist->pPrevStmt==0 && pHist->pNextStmt==0 ); assert 889 ext/pdo_sqlite/sqlite/src/pager.c assert( p->state>=PAGER_RESERVED || p->journalOpen==0 ); assert 894 ext/pdo_sqlite/sqlite/src/pager.c assert( p->errCode || !p->journalOpen || (p->exclusiveMode&&!p->journalOff) ); assert 895 ext/pdo_sqlite/sqlite/src/pager.c assert( p->errCode || !p->stmtOpen || p->exclusiveMode ); assert 947 ext/pdo_sqlite/sqlite/src/pager.c assert( !MEMDB ); assert 984 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aInJournal==0 ); assert 985 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->dirtyCache==0 || pPager->useJournal==0 ); assert 1054 ext/pdo_sqlite/sqlite/src/pager.c assert( jfd == (useCksum ? pPager->jfd : pPager->stfd) ); assert 1055 ext/pdo_sqlite/sqlite/src/pager.c assert( aData ); assert 1083 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state==PAGER_RESERVED || pPager->state>=PAGER_EXCLUSIVE ); assert 1106 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_EXCLUSIVE || pPg!=0 ); assert 1168 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_OK || master ); assert 1200 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_OK || journal ); assert 1317 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOpen ); assert 1329 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_DONE ); assert 1362 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOff==JOURNAL_HDR_SZ(pPager) ); assert 1400 ext/pdo_sqlite/sqlite/src/pager.c assert( 0 ); assert 1451 ext/pdo_sqlite/sqlite/src/pager.c assert( szJ==os_szJ ); assert 1461 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->fullSync || !hdrOff ); assert 1469 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_SHARED ); assert 1473 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->stmtInUse && pPager->journalOpen ); assert 1484 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_DONE ); assert 1504 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_DONE ); assert 1513 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_DONE ); assert 1521 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_DONE ); assert 1612 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_OK || *pFd ); assert 1658 ext/pdo_sqlite/sqlite/src/pager.c assert( pTsd ); assert 1683 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_OK || fd ); assert 1748 ext/pdo_sqlite/sqlite/src/pager.c assert( PAGER_UNLOCK==0 ); assert 1752 ext/pdo_sqlite/sqlite/src/pager.c assert( tempFile==PAGER_LOCKINGMODE_NORMAL assert 1754 ext/pdo_sqlite/sqlite/src/pager.c assert( PAGER_LOCKINGMODE_EXCLUSIVE==1 ); assert 1765 ext/pdo_sqlite/sqlite/src/pager.c assert(fd||memDb); assert 1815 ext/pdo_sqlite/sqlite/src/pager.c assert( pageSize>=512 && pageSize<=SQLITE_MAX_PAGE_SIZE ); assert 1886 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager!=0 ); assert 1940 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->pNextHash==0 && pPg->pPrevHash==0 ); assert 1947 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aHash[pPg->pgno & (pPager->nHash-1)]!=pPg ); assert 1978 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->pFirst==pPg ); assert 1984 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->pLast==pPg ); assert 2041 ext/pdo_sqlite/sqlite/src/pager.c assert( PAGER_SHARED==SHARED_LOCK ); assert 2042 ext/pdo_sqlite/sqlite/src/pager.c assert( PAGER_RESERVED==RESERVED_LOCK ); assert 2043 ext/pdo_sqlite/sqlite/src/pager.c assert( PAGER_EXCLUSIVE==EXCLUSIVE_LOCK ); assert 2046 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_SHARED || pPager->dbSize<0 || MEMDB ); assert 2067 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_SHARED || MEMDB ); assert 2118 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager ); assert 2119 ext/pdo_sqlite/sqlite/src/pager.c assert( pTsd && pTsd->nAlloc ); assert 2130 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->errCode || (pPager->journalOpen==0 && pPager->stmtOpen==0) ); assert 2253 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOpen ); assert 2264 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOff==jSz ); assert 2313 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->needSync==0 ); assert 2315 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->pFirstSynced==pPager->pFirst ); assert 2431 ext/pdo_sqlite/sqlite/src/pager.c assert( pList->dirty ); assert 2508 ext/pdo_sqlite/sqlite/src/pager.c assert(!MEMDB); assert 2533 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOff > 0 ); assert 2534 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->doNotSync==0 ); assert 2546 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->nRef==0 ); assert 2552 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->needSync==0 ); assert 2561 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->dirty==0 ); assert 2579 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->pgno==0 ); assert 2642 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg ); assert 2662 ext/pdo_sqlite/sqlite/src/pager.c assert( (rc&0xff)==SQLITE_IOERR || rc==SQLITE_FULL ); assert 2663 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_RESERVED ); assert 2678 ext/pdo_sqlite/sqlite/src/pager.c assert( MEMDB==0 ); assert 2711 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->nRef==0 ); assert 2717 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=SHARED_LOCK ); assert 2759 ext/pdo_sqlite/sqlite/src/pager.c assert( !pPager->tempFile ); assert 2761 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_OK || pPager->jfd ); assert 2784 ext/pdo_sqlite/sqlite/src/pager.c assert(pPager->state==PAGER_SHARED || assert 2831 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->exclusiveMode || pPager->state<=PAGER_SHARED ); assert 2907 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->nMaxPage==(pPager->nPage-1) ); assert 2916 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=SHARED_LOCK ); assert 2917 ext/pdo_sqlite/sqlite/src/pager.c assert(pPg); assert 2965 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state==PAGER_UNLOCK || pPager->nRef>0 || pgno==1 ); assert 2976 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager!=0 ); assert 2990 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state!=PAGER_UNLOCK ); assert 3004 ext/pdo_sqlite/sqlite/src/pager.c assert( !MEMDB || pgno>pPager->stmtSize ); assert 3007 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOpen ); assert 3048 ext/pdo_sqlite/sqlite/src/pager.c assert( pgno!=0 ); assert 3052 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->pNextHash->pPrevHash==0 ); assert 3061 ext/pdo_sqlite/sqlite/src/pager.c assert(pPager->nRef>0 || pgno==1); assert 3083 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager!=0 ); assert 3084 ext/pdo_sqlite/sqlite/src/pager.c assert( pgno!=0 ); assert 3087 ext/pdo_sqlite/sqlite/src/pager.c assert( !pPager->pAll || pPager->exclusiveMode ); assert 3111 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->nRef>0 ); assert 3142 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->nRef>=0 ); assert 3159 ext/pdo_sqlite/sqlite/src/pager.c assert( !MEMDB ); assert 3160 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_RESERVED ); assert 3161 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOpen==0 ); assert 3162 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->useJournal ); assert 3163 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aInJournal==0 ); assert 3172 ext/pdo_sqlite/sqlite/src/pager.c assert( rc!=SQLITE_OK || pPager->jfd ); assert 3245 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->nRef>0 ); assert 3246 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state!=PAGER_UNLOCK ); assert 3248 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aInJournal==0 ); assert 3275 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->nRec==0 ); assert 3276 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->origDbSize==0 ); assert 3277 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aInJournal==0 ); assert 3287 ext/pdo_sqlite/sqlite/src/pager.c assert( !pPager->journalOpen || pPager->journalOff>0 || rc!=SQLITE_OK ); assert 3358 ext/pdo_sqlite/sqlite/src/pager.c assert( !pPager->setMaster ); assert 3394 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state!=PAGER_UNLOCK ); assert 3399 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_RESERVED ); assert 3404 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOpen || !pPager->useJournal ); assert 3417 ext/pdo_sqlite/sqlite/src/pager.c assert( pHist->pOrig==0 ); assert 3428 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->pgno!=PAGER_MJ_PGNO(pPager) ); assert 3454 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aInJournal!=0 ); assert 3481 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->inJournal || (int)pPg->pgno>pPager->origDbSize ); assert 3484 ext/pdo_sqlite/sqlite/src/pager.c assert( pHist->pStmt==0 ); assert 3500 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aInStmt!=0 ); assert 3508 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_SHARED ); assert 3544 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->doNotSync==0 ); assert 3561 ext/pdo_sqlite/sqlite/src/pager.c assert(nPage>0); assert 3562 ext/pdo_sqlite/sqlite/src/pager.c assert(pg1<=pPg->pgno); assert 3563 ext/pdo_sqlite/sqlite/src/pager.c assert((pg1+nPage)>pPg->pgno); assert 3581 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->doNotSync==1 ); assert 3652 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_SHARED ); assert 3687 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_RESERVED ); assert 3691 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aInJournal!=0 ); assert 3705 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->inJournal || (int)pPg->pgno>pPager->origDbSize ); assert 3706 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aInStmt!=0 ); assert 3770 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOpen ); assert 3869 ext/pdo_sqlite/sqlite/src/pager.c assert( !pPg->alwaysRollback ); assert 3870 ext/pdo_sqlite/sqlite/src/pager.c assert( !pHist->pOrig ); assert 3871 ext/pdo_sqlite/sqlite/src/pager.c assert( !pHist->pStmt ); assert 3878 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOpen || !pPager->dirtyCache ); assert 3879 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state==PAGER_SYNCED || !pPager->dirtyCache ); assert 3903 ext/pdo_sqlite/sqlite/src/pager.c assert( !p->alwaysRollback ); assert 3905 ext/pdo_sqlite/sqlite/src/pager.c assert( !((PgHistory *)PGHDR_TO_HIST(p, pPager))->pOrig ); assert 3906 ext/pdo_sqlite/sqlite/src/pager.c assert( !((PgHistory *)PGHDR_TO_HIST(p, pPager))->pStmt ); assert 4011 ext/pdo_sqlite/sqlite/src/pager.c assert( !pPager->stmtInUse ); assert 4012 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->state>=PAGER_SHARED ); assert 4013 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->dbSize>=0 ); assert 4024 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->journalOpen ); assert 4033 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->stmtJSize == pPager->journalOff ); assert 4072 ext/pdo_sqlite/sqlite/src/pager.c assert( pHist->inStmt ); assert 4185 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->nRef>0 ); assert 4193 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->inJournal ); assert 4194 ext/pdo_sqlite/sqlite/src/pager.c assert( pPg->dirty ); assert 4195 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->needSync ); assert 4208 ext/pdo_sqlite/sqlite/src/pager.c assert( pPgOld->nRef==0 ); assert 4212 ext/pdo_sqlite/sqlite/src/pager.c assert( pPgOld->inJournal ); assert 4215 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->needSync ); assert 4220 ext/pdo_sqlite/sqlite/src/pager.c assert( pgno!=0 ); assert 4224 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->aHash[h]->pPrevHash==0 ); assert 4246 ext/pdo_sqlite/sqlite/src/pager.c assert( pPager->needSync ); assert 4287 ext/pdo_sqlite/sqlite/src/pager.c assert( eMode==PAGER_LOCKINGMODE_QUERY assert 4290 ext/pdo_sqlite/sqlite/src/pager.c assert( PAGER_LOCKINGMODE_QUERY<0 ); assert 4291 ext/pdo_sqlite/sqlite/src/pager.c assert( PAGER_LOCKINGMODE_NORMAL>=0 && PAGER_LOCKINGMODE_EXCLUSIVE>=0 ); assert 356 ext/pdo_sqlite/sqlite/src/pragma.c assert(pDb==&db->aDb[0]); assert 367 ext/pdo_sqlite/sqlite/src/pragma.c assert(eMode==PAGER_LOCKINGMODE_NORMAL||eMode==PAGER_LOCKINGMODE_EXCLUSIVE); assert 576 ext/pdo_sqlite/sqlite/src/pragma.c assert( pTab->nCol>cnum ); assert 618 ext/pdo_sqlite/sqlite/src/pragma.c assert( db->aDb[i].zName!=0 ); assert 58 ext/pdo_sqlite/sqlite/src/prepare.c assert( argc==3 ); assert 64 ext/pdo_sqlite/sqlite/src/prepare.c assert( iDb>=0 && iDb<db->nDb ); assert 73 ext/pdo_sqlite/sqlite/src/prepare.c assert( db->init.busy ); assert 78 ext/pdo_sqlite/sqlite/src/prepare.c assert( rc!=SQLITE_OK || zErr==0 ); assert 158 ext/pdo_sqlite/sqlite/src/prepare.c assert( iDb>=0 && iDb<db->nDb ); assert 159 ext/pdo_sqlite/sqlite/src/prepare.c assert( db->aDb[iDb].pSchema ); assert 287 ext/pdo_sqlite/sqlite/src/prepare.c assert( db->init.busy ); assert 447 ext/pdo_sqlite/sqlite/src/prepare.c assert( i>=0 &&i>=0 && i<db->nDb ); assert 469 ext/pdo_sqlite/sqlite/src/prepare.c assert( !sqlite3MallocFailed() ); assert 471 ext/pdo_sqlite/sqlite/src/prepare.c assert( ppStmt ); assert 546 ext/pdo_sqlite/sqlite/src/prepare.c assert(!(*ppStmt)); assert 560 ext/pdo_sqlite/sqlite/src/prepare.c assert( (rc&db->errMask)==rc ); assert 582 ext/pdo_sqlite/sqlite/src/prepare.c assert( pNew==0 ); assert 585 ext/pdo_sqlite/sqlite/src/prepare.c assert( pNew!=0 ); assert 524 ext/pdo_sqlite/sqlite/src/printf.c assert( bufpt>buf ); assert 644 ext/pdo_sqlite/sqlite/src/printf.c assert( k>=0 && k<pSrc->nSrc ); assert 53 ext/pdo_sqlite/sqlite/src/select.c assert( !pOffset || pLimit ); /* Can't have OFFSET without LIMIT. */ assert 69 ext/pdo_sqlite/sqlite/src/select.c assert( pOffset==0 || pLimit!=0 ); assert 464 ext/pdo_sqlite/sqlite/src/select.c assert( pEList!=0 ); assert 490 ext/pdo_sqlite/sqlite/src/select.c assert( pEList!=0 ); assert 491 ext/pdo_sqlite/sqlite/src/select.c assert( pEList->nExpr==nColumn ); assert 550 ext/pdo_sqlite/sqlite/src/select.c assert( nColumn==1 ); assert 583 ext/pdo_sqlite/sqlite/src/select.c assert( nColumn==1 ); assert 618 ext/pdo_sqlite/sqlite/src/select.c assert( eDest==SRT_Discard ); assert 719 ext/pdo_sqlite/sqlite/src/select.c assert( nColumn==1 ); assert 728 ext/pdo_sqlite/sqlite/src/select.c assert( nColumn==1 ); assert 808 ext/pdo_sqlite/sqlite/src/select.c assert( pExpr->op!=TK_AS ); assert 846 ext/pdo_sqlite/sqlite/src/select.c assert( pTab ); assert 866 ext/pdo_sqlite/sqlite/src/select.c assert( !pS ); assert 868 ext/pdo_sqlite/sqlite/src/select.c assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); assert 903 ext/pdo_sqlite/sqlite/src/select.c assert( pzOriginTab && pzOriginCol ); assert 965 ext/pdo_sqlite/sqlite/src/select.c assert( v!=0 ); assert 985 ext/pdo_sqlite/sqlite/src/select.c assert( j<pTabList->nSrc ); assert 988 ext/pdo_sqlite/sqlite/src/select.c assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); assert 1012 ext/pdo_sqlite/sqlite/src/select.c assert( p->op!=TK_COLUMN || pTabList==0 ); assert 1066 ext/pdo_sqlite/sqlite/src/select.c assert( pTab->nCol>0 ); assert 1080 ext/pdo_sqlite/sqlite/src/select.c assert( p->pRight==0 || p->pRight->token.z==0 || p->pRight->token.z[0]!=0 ); assert 1185 ext/pdo_sqlite/sqlite/src/select.c assert( i==0 ); assert 1191 ext/pdo_sqlite/sqlite/src/select.c assert( pFrom->pSelect!=0 ); assert 1196 ext/pdo_sqlite/sqlite/src/select.c assert( pFrom->pTab==0 ); assert 1210 ext/pdo_sqlite/sqlite/src/select.c assert( pFrom->pTab==0 ); assert 1542 ext/pdo_sqlite/sqlite/src/select.c assert( pOrderBy->iECursor==0 ); assert 1546 ext/pdo_sqlite/sqlite/src/select.c assert( p->addrOpenEphm[2] == -1 ); assert 1628 ext/pdo_sqlite/sqlite/src/select.c assert( pPrior->pRightmost!=pPrior ); assert 1629 ext/pdo_sqlite/sqlite/src/select.c assert( pPrior->pRightmost==p->pRightmost ); assert 1654 ext/pdo_sqlite/sqlite/src/select.c assert( p->pEList ); assert 1655 ext/pdo_sqlite/sqlite/src/select.c assert( nSetP2<sizeof(aSetP2)/sizeof(aSetP2[0]) ); assert 1667 ext/pdo_sqlite/sqlite/src/select.c assert( !pPrior->pLimit ); assert 1720 ext/pdo_sqlite/sqlite/src/select.c assert( nSetP2<sizeof(aSetP2)/sizeof(aSetP2[0]) ); assert 1723 ext/pdo_sqlite/sqlite/src/select.c assert( p->addrOpenEphm[0] == -1 ); assert 1728 ext/pdo_sqlite/sqlite/src/select.c assert( p->pEList ); assert 1733 ext/pdo_sqlite/sqlite/src/select.c assert( !pPrior->pOrderBy ); assert 1771 ext/pdo_sqlite/sqlite/src/select.c assert( p->pEList ); assert 1815 ext/pdo_sqlite/sqlite/src/select.c assert( p->addrOpenEphm[0] == -1 ); assert 1818 ext/pdo_sqlite/sqlite/src/select.c assert( p->pEList ); assert 1830 ext/pdo_sqlite/sqlite/src/select.c assert( p->addrOpenEphm[1] == -1 ); assert 1849 ext/pdo_sqlite/sqlite/src/select.c assert( p->pEList ); assert 1880 ext/pdo_sqlite/sqlite/src/select.c assert( p->pEList && pPrior->pEList ); assert 1913 ext/pdo_sqlite/sqlite/src/select.c assert( p->pRightmost==p ); assert 1937 ext/pdo_sqlite/sqlite/src/select.c assert( pLoop->addrOpenEphm[1]<0 ); assert 1959 ext/pdo_sqlite/sqlite/src/select.c assert( pExpr->pColl!=0 ); assert 1966 ext/pdo_sqlite/sqlite/src/select.c assert( p->pRightmost==p ); assert 1967 ext/pdo_sqlite/sqlite/src/select.c assert( p->addrOpenEphm[2]>=0 ); assert 2007 ext/pdo_sqlite/sqlite/src/select.c assert( pEList!=0 && pExpr->iColumn<pEList->nExpr ); assert 2008 ext/pdo_sqlite/sqlite/src/select.c assert( pExpr->pLeft==0 && pExpr->pRight==0 && pExpr->pList==0 ); assert 2010 ext/pdo_sqlite/sqlite/src/select.c assert( pNew!=0 ); assert 2012 ext/pdo_sqlite/sqlite/src/select.c assert( pExpr->pLeft==0 ); assert 2014 ext/pdo_sqlite/sqlite/src/select.c assert( pExpr->pRight==0 ); assert 2016 ext/pdo_sqlite/sqlite/src/select.c assert( pExpr->pList==0 ); assert 2144 ext/pdo_sqlite/sqlite/src/select.c assert( pSrc && iFrom>=0 && iFrom<pSrc->nSrc ); assert 2147 ext/pdo_sqlite/sqlite/src/select.c assert( pSub!=0 ); assert 2151 ext/pdo_sqlite/sqlite/src/select.c assert( pSubSrc ); assert 2265 ext/pdo_sqlite/sqlite/src/select.c assert( p->pOrderBy==0 ); assert 2277 ext/pdo_sqlite/sqlite/src/select.c assert( p->pHaving==0 ); assert 2282 ext/pdo_sqlite/sqlite/src/select.c assert( p->pGroupBy==0 ); assert 2387 ext/pdo_sqlite/sqlite/src/select.c assert( pIdx->nColumn>=1 ); assert 2415 ext/pdo_sqlite/sqlite/src/select.c assert( iDb>=0 || pTab->isEphem ); assert 2436 ext/pdo_sqlite/sqlite/src/select.c assert( pIdx->pSchema==pTab->pSchema ); assert 2477 ext/pdo_sqlite/sqlite/src/select.c assert( pEList ); assert 2525 ext/pdo_sqlite/sqlite/src/select.c assert( !pOuterNC ); assert 2572 ext/pdo_sqlite/sqlite/src/select.c assert( !p->isAgg ); assert 2703 ext/pdo_sqlite/sqlite/src/select.c assert( nArg==1 ); assert 2710 ext/pdo_sqlite/sqlite/src/select.c assert( pList!=0 ); /* pList!=0 if pF->pFunc->needCollSeq is true */ assert 3273 ext/pdo_sqlite/sqlite/src/select.c assert( pParent->pSrc->nSrc>parentTab ); assert 3274 ext/pdo_sqlite/sqlite/src/select.c assert( pParent->pSrc->a[parentTab].pSelect==p ); assert 165 ext/pdo_sqlite/sqlite/src/shell.c assert( 0==argc ); assert 166 ext/pdo_sqlite/sqlite/src/shell.c assert( zShellStatic ); assert 690 ext/pdo_sqlite/sqlite/src/shell.c assert( (zCsr-zIn)==len ); assert 1514 ext/pdo_sqlite/sqlite/src/shell.c assert( nArg<=ArraySize(azArg) ); assert 146 ext/pdo_sqlite/sqlite/src/table.c assert( sizeof(res.azResult[0])>= sizeof(res.nData) ); assert 256 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert( pDb->zProgress ); assert 322 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert(pDb->pRollbackHook); assert 338 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert( pDb->pUpdateHook ); assert 339 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert( op==SQLITE_INSERT || op==SQLITE_UPDATE || op==SQLITE_DELETE ); assert 1339 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert( pPreStmt==0 ); assert 1461 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert( pRet==0 ); assert 1555 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert( pDb->nStmt==0 ); assert 1558 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert( pDb->nStmt>0 ); assert 1952 ext/pdo_sqlite/sqlite/src/tclsqlite.c assert( !(*ppHook) ); assert 1422 ext/pdo_sqlite/sqlite/src/test1.c assert(db); assert 1471 ext/pdo_sqlite/sqlite/src/test1.c assert(db); assert 1500 ext/pdo_sqlite/sqlite/src/test1.c assert( interp==0 ); /* This will always fail */ assert 1823 ext/pdo_sqlite/sqlite/src/test1.c assert(0); assert 2710 ext/pdo_sqlite/sqlite/src/test1.c assert( pStmt==0 ); assert 2755 ext/pdo_sqlite/sqlite/src/test1.c assert(rc==SQLITE_OK || pStmt==0); assert 2764 ext/pdo_sqlite/sqlite/src/test1.c assert( pStmt==0 ); assert 3072 ext/pdo_sqlite/sqlite/src/test1.c assert(0); assert 1093 ext/pdo_sqlite/sqlite/src/test3.c assert( nKey<sizeof(zStatic) ); assert 1131 ext/pdo_sqlite/sqlite/src/test3.c assert( nData<sizeof(zStatic) ); assert 1434 ext/pdo_sqlite/sqlite/src/test3.c assert( db ); assert 41 ext/pdo_sqlite/sqlite/src/test5.c assert(objc==2); assert 410 ext/pdo_sqlite/sqlite/src/tokenize.c assert( pParse->sLastToken.dyn==0 ); assert 411 ext/pdo_sqlite/sqlite/src/tokenize.c assert( pParse->pNewTable==0 ); assert 412 ext/pdo_sqlite/sqlite/src/tokenize.c assert( pParse->pNewTrigger==0 ); assert 413 ext/pdo_sqlite/sqlite/src/tokenize.c assert( pParse->nVar==0 ); assert 414 ext/pdo_sqlite/sqlite/src/tokenize.c assert( pParse->nVarExpr==0 ); assert 415 ext/pdo_sqlite/sqlite/src/tokenize.c assert( pParse->nVarExprAlloc==0 ); assert 416 ext/pdo_sqlite/sqlite/src/tokenize.c assert( pParse->apVarExpr==0 ); assert 419 ext/pdo_sqlite/sqlite/src/tokenize.c assert( i>=0 ); assert 421 ext/pdo_sqlite/sqlite/src/tokenize.c assert( pParse->sLastToken.dyn==0 ); assert 63 ext/pdo_sqlite/sqlite/src/trigger.c assert( pName1!=0 ); /* pName1->z might be NULL, but not pName1 itself */ assert 64 ext/pdo_sqlite/sqlite/src/trigger.c assert( pName2!=0 ); assert 96 ext/pdo_sqlite/sqlite/src/trigger.c assert( pTableName->nSrc==1 ); assert 183 ext/pdo_sqlite/sqlite/src/trigger.c assert( pParse->pNewTrigger==0 ); assert 194 ext/pdo_sqlite/sqlite/src/trigger.c assert( pParse->pNewTrigger==pTrigger ); assert 267 ext/pdo_sqlite/sqlite/src/trigger.c assert( sqlite3MallocFailed() && pDel==pTrig ); assert 272 ext/pdo_sqlite/sqlite/src/trigger.c assert( pTab!=0 ); assert 280 ext/pdo_sqlite/sqlite/src/trigger.c assert( !pParse->pNewTrigger ); assert 359 ext/pdo_sqlite/sqlite/src/trigger.c assert(pEList == 0 || pSelect == 0); assert 360 ext/pdo_sqlite/sqlite/src/trigger.c assert(pEList != 0 || pSelect != 0); assert 463 ext/pdo_sqlite/sqlite/src/trigger.c assert( pName->nSrc==1 ); assert 505 ext/pdo_sqlite/sqlite/src/trigger.c assert( iDb>=0 && iDb<db->nDb ); assert 507 ext/pdo_sqlite/sqlite/src/trigger.c assert( pTable ); assert 508 ext/pdo_sqlite/sqlite/src/trigger.c assert( pTable->pSchema==pTrigger->pSchema || iDb==1 ); assert 524 ext/pdo_sqlite/sqlite/src/trigger.c assert( pTable!=0 ); assert 559 ext/pdo_sqlite/sqlite/src/trigger.c assert( pTable!=0 ); assert 571 ext/pdo_sqlite/sqlite/src/trigger.c assert(cc); assert 644 ext/pdo_sqlite/sqlite/src/trigger.c assert( iDb<pParse->db->nDb ); assert 667 ext/pdo_sqlite/sqlite/src/trigger.c assert( pTriggerStep!=0 ); assert 668 ext/pdo_sqlite/sqlite/src/trigger.c assert( v!=0 ); assert 714 ext/pdo_sqlite/sqlite/src/trigger.c assert(0); assert 758 ext/pdo_sqlite/sqlite/src/trigger.c assert(op == TK_UPDATE || op == TK_INSERT || op == TK_DELETE); assert 759 ext/pdo_sqlite/sqlite/src/trigger.c assert(tr_tm == TRIGGER_BEFORE || tr_tm == TRIGGER_AFTER ); assert 761 ext/pdo_sqlite/sqlite/src/trigger.c assert(newIdx != -1 || oldIdx != -1); assert 121 ext/pdo_sqlite/sqlite/src/update.c assert( pTabList->nSrc==1 ); assert 410 ext/pdo_sqlite/sqlite/src/update.c assert( pParse->nTab>iCur+i+1 ); assert 579 ext/pdo_sqlite/sqlite/src/update.c assert( pTab->iPKey<0 ); assert 593 ext/pdo_sqlite/sqlite/src/update.c assert( v ); assert 274 ext/pdo_sqlite/sqlite/src/utf.c assert( pMem->flags&MEM_Str ); assert 275 ext/pdo_sqlite/sqlite/src/utf.c assert( pMem->enc!=desiredEnc ); assert 276 ext/pdo_sqlite/sqlite/src/utf.c assert( pMem->enc!=0 ); assert 277 ext/pdo_sqlite/sqlite/src/utf.c assert( pMem->n>=0 ); assert 296 ext/pdo_sqlite/sqlite/src/utf.c assert( rc==SQLITE_NOMEM ); assert 353 ext/pdo_sqlite/sqlite/src/utf.c assert( desiredEnc==SQLITE_UTF16BE ); assert 363 ext/pdo_sqlite/sqlite/src/utf.c assert( desiredEnc==SQLITE_UTF8 ); assert 380 ext/pdo_sqlite/sqlite/src/utf.c assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); assert 435 ext/pdo_sqlite/sqlite/src/utf.c assert( !(pMem->flags&MEM_Short) ); assert 436 ext/pdo_sqlite/sqlite/src/utf.c assert( !(pMem->flags&MEM_Dyn) || pMem->xDel ); assert 468 ext/pdo_sqlite/sqlite/src/utf.c assert( z<=zTerm ); assert 489 ext/pdo_sqlite/sqlite/src/utf.c assert( (m.flags & MEM_Term)!=0 || sqlite3MallocFailed() ); assert 490 ext/pdo_sqlite/sqlite/src/utf.c assert( (m.flags & MEM_Str)!=0 || sqlite3MallocFailed() ); assert 598 ext/pdo_sqlite/sqlite/src/utf.c assert( c==t ); assert 599 ext/pdo_sqlite/sqlite/src/utf.c assert( (z-zBuf)==n ); assert 608 ext/pdo_sqlite/sqlite/src/utf.c assert( c==i ); assert 609 ext/pdo_sqlite/sqlite/src/utf.c assert( (z-zBuf)==n ); assert 618 ext/pdo_sqlite/sqlite/src/utf.c assert( c==i ); assert 619 ext/pdo_sqlite/sqlite/src/utf.c assert( (z-zBuf)==n ); assert 242 ext/pdo_sqlite/sqlite/src/util.c assert(((u32 *)z)[i]==0xdead1122); assert 250 ext/pdo_sqlite/sqlite/src/util.c assert(guard==0xdead3344); assert 338 ext/pdo_sqlite/sqlite/src/util.c assert(!pp[0]); assert 339 ext/pdo_sqlite/sqlite/src/util.c assert(!pp[1] || ((void **)(pp[1]))[0]==p); assert 347 ext/pdo_sqlite/sqlite/src/util.c assert(pprev); assert 348 ext/pdo_sqlite/sqlite/src/util.c assert(pprev[1]==p); assert 351 ext/pdo_sqlite/sqlite/src/util.c assert(pnext[0]==p); assert 451 ext/pdo_sqlite/sqlite/src/util.c assert( !sqlite3_mallocDisallowed ); assert 455 ext/pdo_sqlite/sqlite/src/util.c assert(p); assert 498 ext/pdo_sqlite/sqlite/src/util.c assert( !sqlite3_mallocDisallowed ); assert 549 ext/pdo_sqlite/sqlite/src/util.c assert( pTsd->nAlloc>=0 ); assert 572 ext/pdo_sqlite/sqlite/src/util.c assert( pTsd->nAlloc>=0 ); assert 754 ext/pdo_sqlite/sqlite/src/util.c assert( pz!=0 ); assert 1249 ext/pdo_sqlite/sqlite/src/util.c assert( n<=9 ); assert 1348 ext/pdo_sqlite/sqlite/src/util.c assert( h>='A' && h<='F' ); assert 1397 ext/pdo_sqlite/sqlite/src/util.c assert( sizeof(p)==sizeof(v2) ); assert 1474 ext/pdo_sqlite/sqlite/src/util.c assert( mallocHasFailed==0 ); assert 1485 ext/pdo_sqlite/sqlite/src/util.c assert( sqlite3_mallocDisallowed>=0 ); assert 1494 ext/pdo_sqlite/sqlite/src/util.c assert( sqlite3_mallocDisallowed>0 ); assert 111 ext/pdo_sqlite/sqlite/src/vacuum.c assert( strcmp(db->aDb[db->nDb-1].zName,"vacuum_db")==0 ); assert 119 ext/pdo_sqlite/sqlite/src/vacuum.c assert( sqlite3BtreeGetPageSize(pTemp)==sqlite3BtreeGetPageSize(pMain) ); assert 219 ext/pdo_sqlite/sqlite/src/vacuum.c assert( 1==sqlite3BtreeIsInTrans(pTemp) ); assert 220 ext/pdo_sqlite/sqlite/src/vacuum.c assert( 1==sqlite3BtreeIsInTrans(pMain) ); assert 187 ext/pdo_sqlite/sqlite/src/vdbe.c assert( iCur<p->nCursor ); assert 252 ext/pdo_sqlite/sqlite/src/vdbe.c assert( affinity==SQLITE_AFF_INTEGER || affinity==SQLITE_AFF_REAL assert 300 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (f & (MEM_Static|MEM_Ephem))==0 ); assert 303 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (f & (MEM_Dyn|MEM_Ephem))==0 ); assert 306 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (f & (MEM_Static|MEM_Dyn))==0 ); assert 329 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (f & (MEM_Static|MEM_Ephem))==0 ); assert 332 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (f & (MEM_Dyn|MEM_Ephem))==0 ); assert 335 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (f & (MEM_Static|MEM_Dyn))==0 ); assert 440 ext/pdo_sqlite/sqlite/src/vdbe.c assert( db->magic==SQLITE_MAGIC_BUSY ); assert 447 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY ); assert 449 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->explain==0 ); assert 474 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pc>=0 && pc<p->nOp ); assert 475 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos<=&p->aStack[pc] ); assert 611 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->returnDepth<sizeof(p->returnStack)/sizeof(p->returnStack[0]) ); assert 624 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->returnDepth>0 ); assert 658 ext/pdo_sqlite/sqlite/src/vdbe.c assert( rc==SQLITE_BUSY || rc==SQLITE_OK ); assert 684 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3!=0 ); assert 716 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3!=0 ); assert 746 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3!=0 ); assert 824 ext/pdo_sqlite/sqlite/src/vdbe.c assert( j>=0 && j<p->nVar ); assert 836 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 ); assert 838 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=&p->aStack[-1] ); assert 859 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pFrom<=pTos && pFrom>=p->aStack ); assert 887 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pFrom->flags & MEM_Ephem)==0 ); assert 890 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pFrom->flags & (MEM_Str|MEM_Blob) ); assert 891 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pFrom->z==pFrom[1].zShort ); assert 897 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & (MEM_Str|MEM_Blob) ); assert 898 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->z==pTos[-pOp->p1].zShort ); assert 913 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTo>=p->aStack ); assert 932 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->nResColumn==pOp->p1 ); assert 990 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p2==0 || (pTerm->flags&MEM_Str) ); assert 1019 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTerm->flags & (MEM_Str|MEM_Blob) ); assert 1025 ext/pdo_sqlite/sqlite/src/vdbe.c assert( j==nByte ); assert 1093 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 1176 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3type==P3_COLLSEQ ); assert 1203 ext/pdo_sqlite/sqlite/src/vdbe.c assert( apVal || n==0 ); assert 1211 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3type==P3_FUNCDEF || pOp->p3type==P3_VDBEFUNC ); assert 1225 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp>p->aOp ); assert 1226 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp[-1].p3type==P3_COLLSEQ ); assert 1227 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp[-1].opcode==OP_CollSeq ); assert 1294 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 1326 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1344 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1379 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1406 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1424 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1426 ext/pdo_sqlite/sqlite/src/vdbe.c assert( MEM_Str==(MEM_Blob>>3) ); assert 1429 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & MEM_Str ); assert 1444 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1448 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & MEM_Str ); assert 1466 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1484 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1502 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1632 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3type==P3_COLLSEQ || pOp->p3==0 ); assert 1673 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 1718 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1748 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1751 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 1764 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1767 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 1812 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1861 ext/pdo_sqlite/sqlite/src/vdbe.c assert( &pTos[1-cnt] >= p->aStack ); assert 1880 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pOp->p1)<p->nCursor ); assert 1881 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[pOp->p1]!=0 ); assert 1921 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p1<p->nCursor ); assert 1941 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->pVtabCursor==0 ); assert 1943 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC!=0 ); assert 1968 ext/pdo_sqlite/sqlite/src/vdbe.c assert( payloadSize==0 || zRec!=0 ); assert 1980 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags==MEM_Null ); assert 1984 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p2<nField ); assert 2092 ext/pdo_sqlite/sqlite/src/vdbe.c assert( rc==SQLITE_OK ); assert 2119 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & MEM_Ephem ); assert 2120 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & (MEM_Str|MEM_Blob) ); assert 2121 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->z==sMem.z ); assert 2122 ext/pdo_sqlite/sqlite/src/vdbe.c assert( sMem.flags & MEM_Term ); assert 2215 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pData0>=p->aStack ); assert 2240 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pRowid>=p->aStack ); assert 2280 ext/pdo_sqlite/sqlite/src/vdbe.c assert( zCsr==(zNewRecord+nByte) ); assert 2289 ext/pdo_sqlite/sqlite/src/vdbe.c assert( zNewRecord==(unsigned char *)zTemp ); assert 2294 ext/pdo_sqlite/sqlite/src/vdbe.c assert( zNewRecord!=(unsigned char *)zTemp ); assert 2324 ext/pdo_sqlite/sqlite/src/vdbe.c assert( sqlite3BtreeIsInTrans(pBt) ); assert 2344 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i==1 || i==0 ); assert 2345 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i==1 || rollback==0 ); assert 2347 ext/pdo_sqlite/sqlite/src/vdbe.c assert( db->activeVdbeCnt>0 ); /* At least this one VM is active */ assert 2359 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i==1 ); assert 2412 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<db->nDb ); assert 2444 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p2<SQLITE_N_BTREE_META ); assert 2445 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2446 ext/pdo_sqlite/sqlite/src/vdbe.c assert( db->aDb[pOp->p1].pBt!=0 ); assert 2473 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p2<SQLITE_N_BTREE_META ); assert 2474 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2476 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pDb->pBt!=0 ); assert 2477 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2489 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 2518 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2603 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2606 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 2608 ext/pdo_sqlite/sqlite/src/vdbe.c assert( iDb>=0 && iDb<db->nDb ); assert 2611 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pX!=0 ); assert 2621 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2624 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 2626 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p2>=2 ); assert 2628 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 ); assert 2712 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 ); assert 2728 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3type==P3_KEYINFO ); assert 2731 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pgno==MASTER_ROOT+1 ); assert 2765 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 ); assert 2837 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2838 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 2840 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC!=0 ); assert 2853 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 2864 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & MEM_Blob ); assert 2887 ext/pdo_sqlite/sqlite/src/vdbe.c assert( oc==OP_MoveLt || oc==OP_MoveLe ); assert 2966 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2967 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 2968 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 2971 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->isTable==0 ); assert 3020 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 3023 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 3025 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3027 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pCx!=0 ); assert 3049 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pCx->deferredMoveto==0 ); assert 3112 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3113 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3114 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 3118 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & MEM_Int ); assert 3119 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]->isTable ); assert 3149 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3150 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3151 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 3177 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3178 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 3221 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (sqlite3BtreeFlags(pC->pCursor) & BTREE_INTKEY)!=0 ); assert 3222 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (sqlite3BtreeFlags(pC->pCursor) & BTREE_ZERODATA)==0 ); assert 3258 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p2>0 && pOp->p2<p->nMem ); /* P2 is a valid memory cell */ assert 3261 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pMem->flags & MEM_Int)!=0 ); /* mem(P2) holds an integer */ assert 3281 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p2==0 ); /* SQLITE_FULL must have occurred prior to this */ assert 3338 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 3339 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3340 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 3344 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pNos->flags & MEM_Int ); assert 3345 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->isTable ); assert 3357 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & (MEM_Blob|MEM_Str) ); assert 3389 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->isTable ); assert 3391 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->iDb>=0 ); assert 3416 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3418 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC!=0 ); assert 3426 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->isTable ); assert 3449 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->iDb>=0 ); assert 3497 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3499 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->isTable || pOp->opcode==OP_RowKey ); assert 3500 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->isIndex || pOp->opcode==OP_RowData ); assert 3501 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC!=0 ); assert 3513 ext/pdo_sqlite/sqlite/src/vdbe.c assert( !pC->isTable ); assert 3556 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3558 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC!=0 ); assert 3570 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->pCursor!=0 ); assert 3589 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3591 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC!=0 ); assert 3610 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3612 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC!=0 ); assert 3662 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3664 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC!=0 ); assert 3702 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3712 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 3747 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3748 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3749 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 3750 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & MEM_Blob ); assert 3754 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->isTable==0 ); assert 3756 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 3774 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3775 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & MEM_Blob ); assert 3776 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3777 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 3784 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 3805 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3806 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 3812 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 3813 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->isTable==0 ); assert 3878 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3879 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->apCsr[i]!=0 ); assert 3880 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3884 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos->flags & MEM_Blob ); /* Created using OP_Make*Key */ assert 3886 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 3888 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3==0 || pOp->opcode!=OP_IdxGT ); assert 3945 ext/pdo_sqlite/sqlite/src/vdbe.c assert( iCnt==1 ); assert 4036 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 4038 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pDb->pBt!=0 ); assert 4074 ext/pdo_sqlite/sqlite/src/vdbe.c assert( iDb>=0 && iDb<db->nDb ); assert 4087 ext/pdo_sqlite/sqlite/src/vdbe.c assert( db->init.busy==0 ); assert 4089 ext/pdo_sqlite/sqlite/src/vdbe.c assert( !sqlite3MallocFailed() ); assert 4111 ext/pdo_sqlite/sqlite/src/vdbe.c assert( iDb>=0 && iDb<db->nDb ); assert 4186 ext/pdo_sqlite/sqlite/src/vdbe.c assert( nRoot>0 ); assert 4190 ext/pdo_sqlite/sqlite/src/vdbe.c assert( j>=0 && j<p->nMem ); assert 4192 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pnErr->flags & MEM_Int)!=0 ); assert 4204 ext/pdo_sqlite/sqlite/src/vdbe.c assert( z==0 ); assert 4225 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4228 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 4263 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 ); assert 4287 ext/pdo_sqlite/sqlite/src/vdbe.c assert( p->contextStackTop>=0 ); assert 4307 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4308 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nMem ); assert 4330 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nMem ); assert 4348 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4349 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nMem ); assert 4370 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nMem ); assert 4372 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pMem->flags==MEM_Int ); assert 4387 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nMem ); assert 4389 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pMem->flags==MEM_Int ); assert 4406 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nMem ); assert 4408 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pMem->flags==MEM_Int ); assert 4425 ext/pdo_sqlite/sqlite/src/vdbe.c assert( i>=0 && i<p->nMem ); assert 4427 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pMem->flags==MEM_Int ); assert 4439 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nMem ); assert 4449 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p2>=0 && pOp->p2<p->nMem ); assert 4461 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nMem ); assert 4462 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p2>=0 && pOp->p2<p->nMem ); assert 4483 ext/pdo_sqlite/sqlite/src/vdbe.c assert( n>=0 ); assert 4485 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pRec>=p->aStack ); assert 4487 ext/pdo_sqlite/sqlite/src/vdbe.c assert( apVal || n==0 ); assert 4493 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nMem ); assert 4502 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp>p->aOp ); assert 4503 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp[-1].p3type==P3_COLLSEQ ); assert 4504 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp[-1].opcode==OP_CollSeq ); assert 4531 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nMem ); assert 4533 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pMem->flags & ~(MEM_Null|MEM_Agg))==0 ); assert 4659 ext/pdo_sqlite/sqlite/src/vdbe.c assert(pVtab && pModule); assert 4709 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pCur->pVtabCursor ); assert 4713 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (&pTos[-1])>=p->aStack ); assert 4714 ext/pdo_sqlite/sqlite/src/vdbe.c assert( (pTos[0].flags&MEM_Int)!=0 && pTos[-1].flags==MEM_Int ); assert 4757 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pCur->pVtabCursor ); assert 4788 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pCur->pVtabCursor ); assert 4828 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pCur->pVtabCursor ); assert 4888 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pOp->p3type==P3_VTAB ); assert 4907 ext/pdo_sqlite/sqlite/src/vdbe.c assert( nArg>1 && apArg[0] && (apArg[0]->flags&MEM_Null) ); assert 4919 ext/pdo_sqlite/sqlite/src/vdbe.c assert( 0 ); assert 4932 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pTos<=pStackLimit ); assert 4960 ext/pdo_sqlite/sqlite/src/vdbe.c assert( pc>=-1 && pc<p->nOp ); assert 5030 ext/pdo_sqlite/sqlite/src/vdbe.c assert( db->u1.isInterrupted ); assert 89 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( n>=0 ); assert 167 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( !sqlite3MallocFailed() ); assert 200 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p->nOp>0 ); assert 201 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p->aOp[p->nOp-1].opcode==OP_Noop ); assert 202 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p->aOp[p->nOp-1].p3!=0 ); assert 203 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p->aOp[p->nOp-1].p3type==P3_DYNAMIC ); assert 252 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p->nOp>0 ); assert 253 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p->aOp[p->nOp-1].opcode==OP_Noop ); assert 254 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p->aOp[p->nOp-1].p3!=0 ); assert 255 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p->aOp[p->nOp-1].p3type==P3_DYNAMIC ); assert 263 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( (rc&0xff)==rc ); assert 304 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p && p->pFunc ); assert 336 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p && p->pFunc && p->pFunc->xStep ); assert 339 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( pMem->flags==MEM_Null ); assert 413 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( p && p->pFunc && p->pFunc->xStep ); assert 811 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( pOp->p1>0 && pOp->p1<=p->nVar ); assert 878 ext/pdo_sqlite/sqlite/src/vdbeapi.c assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); assert 56 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->zSql==0 ); assert 148 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 195 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 214 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 215 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( j>=0 && j<p->nLabel ); assert 253 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( op<32*5 ); assert 308 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->nOp - i >= 3 ); assert 309 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( pOp[-2].opcode==OP_Integer ); assert 318 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( -1-pOp->p2<p->nLabel ); assert 345 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 355 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 390 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p==0 || p->magic==VDBE_MAGIC_INIT ); assert 401 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( val>=0 ); assert 402 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p==0 || p->magic==VDBE_MAGIC_INIT ); assert 503 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p==0 || p->magic==VDBE_MAGIC_INIT ); assert 560 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->nOp>0 || p->aOp==0 ); assert 561 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->aOp==0 || p->aOp[p->nOp-1].p3==0 || sqlite3MallocFailed() ); assert 572 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 573 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( (addr>=0 && addr<p->nOp) || sqlite3MallocFailed() ); assert 585 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( nTemp>=20 ); assert 613 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( i<nTemp ); assert 644 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( zP3!=0 ); assert 692 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->explain ); assert 694 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( db->magic==SQLITE_MAGIC_BUSY ); assert 695 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY ); assert 726 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( pMem->z!=0 ); assert 744 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( pMem->z!=0 ); assert 825 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p!=0 ); assert 826 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 830 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->nOp>0 ); assert 853 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( nVar>=0 ); assert 854 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( nStack<p->nOp ); assert 1015 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( idx<p->nResColumn ); assert 1016 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( var<COLNAME_N ); assert 1018 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->aColName!=0 ); assert 1267 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( cnt==db->activeVdbeCnt ); assert 1343 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_HALT ); assert 1374 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert(p->aOp || p->nOp==0); assert 1444 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert(!xFunc || assert 1549 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->pTos<&p->aStack[p->pc<0?0:p->pc] || !p->aStack ); assert 1588 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( (rc & p->db->errMask)==rc ); assert 1625 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->db->pVdbe==p ); assert 1659 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( p->isTable ); assert 1750 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( n>=0 ); assert 1753 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( (flags & MEM_Blob)!=0 ); assert 1783 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( sizeof(v)==sizeof(pMem->r) ); assert 1861 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( sizeof(r1)==sizeof(t1) && memcmp(&r1, &t1, sizeof(r1))==0 ); assert 1871 ext/pdo_sqlite/sqlite/src/vdbeaux.c assert( sizeof(x)==8 && sizeof(pMem->r)==8 ); assert 79 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pFifo->nEntry>0 ); assert 81 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pPage!=0 ); assert 82 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pPage->iWrite>pPage->iRead ); assert 83 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pPage->iWrite<=pPage->nSlot ); assert 84 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pPage->iRead<pPage->nSlot ); assert 85 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pPage->iRead>=0 ); assert 92 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pFifo->pLast==pPage ); assert 95 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pFifo->pFirst!=0 ); assert 98 ext/pdo_sqlite/sqlite/src/vdbefifo.c assert( pFifo->nEntry>0 ); assert 50 ext/pdo_sqlite/sqlite/src/vdbemem.c assert(rc==SQLITE_OK || rc==SQLITE_NOMEM); assert 51 ext/pdo_sqlite/sqlite/src/vdbemem.c assert(rc==SQLITE_OK || pMem->enc!=desiredEnc); assert 52 ext/pdo_sqlite/sqlite/src/vdbemem.c assert(rc==SQLITE_NOMEM || pMem->enc==desiredEnc); assert 68 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pMem->flags & MEM_Dyn)==0 ); assert 69 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->flags & (MEM_Str|MEM_Blob) ); assert 96 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pMem->flags & MEM_Dyn)==0 ); assert 97 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->flags & (MEM_Str|MEM_Blob) ); assert 114 ext/pdo_sqlite/sqlite/src/vdbemem.c assert(0==(1&(int)pMem->z)); assert 163 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( !(fg&(MEM_Str|MEM_Blob)) ); assert 164 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( fg&(MEM_Int|MEM_Real) ); assert 175 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( fg & MEM_Real ); assert 198 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef ); assert 229 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (p->flags & MEM_Agg)==0 ); assert 264 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->z ); assert 289 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->z ); assert 302 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->flags & MEM_Real ); assert 383 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( srcType==MEM_Ephem || srcType==MEM_Static ); assert 464 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( enc==0 || enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE assert 554 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( f1&MEM_Int ); assert 555 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( f2&MEM_Int ); assert 573 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem1->enc==pMem2->enc ); assert 574 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem1->enc==SQLITE_UTF8 || assert 581 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( !pColl || pColl->xCmp ); assert 596 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( n1==sqlite3ValueBytes((sqlite3_value*)pMem1, pColl->enc) ); assert 599 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( n2==sqlite3ValueBytes((sqlite3_value*)pMem2, pColl->enc) ); assert 648 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( zData!=0 ); assert 680 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( zData!=pMem->zShort ); assert 681 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->flags & MEM_Dyn ); assert 684 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( zData==pMem->zShort ); assert 685 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->flags & MEM_Short ); assert 701 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( flags!=0 ); /* Must define some type */ assert 704 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( x!=0 ); /* Strings must define a string subtype */ assert 705 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (x & (x-1))==0 ); /* Only one string subtype can be defined */ assert 706 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->z!=0 ); /* Strings must have a value */ assert 708 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pMem->flags & MEM_Short)==0 || pMem->z==pMem->zShort ); assert 709 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pMem->flags & MEM_Short)!=0 || pMem->z!=pMem->zShort ); assert 711 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->xDel==0 || (pMem->flags & MEM_Dyn)!=0 ); assert 714 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->enc==SQLITE_UTF8 || assert 725 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( strlen(pMem->z)<=pMem->n ); assert 726 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->z[pMem->n]==0 ); assert 731 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pMem->flags & (MEM_Static|MEM_Dyn|MEM_Ephem|MEM_Short))==0 ); assert 732 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( pMem->xDel==0 ); assert 735 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pMem->flags&(MEM_Str|MEM_Int|MEM_Real|MEM_Blob))==0 assert 738 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pMem->flags & (MEM_Int|MEM_Real))!=(MEM_Int|MEM_Real) assert 755 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (enc&3)==(enc&~SQLITE_UTF16_ALIGNED) ); assert 760 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (MEM_Blob>>3) == MEM_Str ); assert 765 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pVal->flags & (MEM_Ephem|MEM_Static))!=0 ); assert 772 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( (pVal->flags&MEM_Blob)==0 ); assert 774 ext/pdo_sqlite/sqlite/src/vdbemem.c assert( 0==(1&(int)pVal->z) ); assert 776 ext/pdo_sqlite/sqlite/src/vdbemem.c assert(pVal->enc==(enc & ~SQLITE_UTF16_ALIGNED) || sqlite3MallocFailed() ); assert 61 ext/pdo_sqlite/sqlite/src/vtab.c assert(db); assert 62 ext/pdo_sqlite/sqlite/src/vtab.c assert(!sqlite3SafetyCheck(db)); assert 82 ext/pdo_sqlite/sqlite/src/vtab.c assert( p->pMod && p->pMod->pModule ); assert 145 ext/pdo_sqlite/sqlite/src/vtab.c assert( 0==pTable->pIndex ); assert 148 ext/pdo_sqlite/sqlite/src/vtab.c assert( iDb>=0 ); assert 263 ext/pdo_sqlite/sqlite/src/vtab.c assert( pTab==pOld ); /* Malloc must have failed inside HashInsert() */ assert 291 ext/pdo_sqlite/sqlite/src/vtab.c assert(pArg->z < p->z); assert 320 ext/pdo_sqlite/sqlite/src/vtab.c assert( !db->pVTab ); assert 321 ext/pdo_sqlite/sqlite/src/vtab.c assert( xConstruct ); assert 325 ext/pdo_sqlite/sqlite/src/vtab.c assert( rc==SQLITE_OK ); assert 426 ext/pdo_sqlite/sqlite/src/vtab.c assert(pTab && pTab->isVirtual && !pTab->pVtab); assert 464 ext/pdo_sqlite/sqlite/src/vtab.c assert(pTab->isVirtual && pTab->nCol==0 && pTab->aCol==0); assert 492 ext/pdo_sqlite/sqlite/src/vtab.c assert( (rc&0xff)==rc ); assert 509 ext/pdo_sqlite/sqlite/src/vtab.c assert(pTab); assert 513 ext/pdo_sqlite/sqlite/src/vtab.c assert( rc==SQLITE_OK ); assert 683 ext/pdo_sqlite/sqlite/src/vtab.c assert( pVtab!=0 ); assert 684 ext/pdo_sqlite/sqlite/src/vtab.c assert( pVtab->pModule!=0 ); assert 308 ext/pdo_sqlite/sqlite/src/where.c assert( pMaskSet->n < ArraySize(pMaskSet->ix) ); assert 371 ext/pdo_sqlite/sqlite/src/where.c assert( TK_GT>TK_EQ && TK_GT<TK_GE ); assert 372 ext/pdo_sqlite/sqlite/src/where.c assert( TK_LT>TK_EQ && TK_LT<TK_GE ); assert 373 ext/pdo_sqlite/sqlite/src/where.c assert( TK_LE>TK_EQ && TK_LE<TK_GE ); assert 374 ext/pdo_sqlite/sqlite/src/where.c assert( TK_GE==TK_EQ+4 ); assert 388 ext/pdo_sqlite/sqlite/src/where.c assert( allowedOp(pExpr->op) && pExpr->op!=TK_IN ); assert 392 ext/pdo_sqlite/sqlite/src/where.c assert( TK_LT==TK_GT+2 ); assert 393 ext/pdo_sqlite/sqlite/src/where.c assert( TK_GE==TK_LE+2 ); assert 394 ext/pdo_sqlite/sqlite/src/where.c assert( TK_GT>TK_EQ ); assert 395 ext/pdo_sqlite/sqlite/src/where.c assert( TK_GT<TK_LE ); assert 396 ext/pdo_sqlite/sqlite/src/where.c assert( pExpr->op>=TK_GT && pExpr->op<=TK_GE ); assert 406 ext/pdo_sqlite/sqlite/src/where.c assert( allowedOp(op) ); assert 414 ext/pdo_sqlite/sqlite/src/where.c assert( op!=TK_ISNULL || c==WO_ISNULL ); assert 415 ext/pdo_sqlite/sqlite/src/where.c assert( op!=TK_IN || c==WO_IN ); assert 416 ext/pdo_sqlite/sqlite/src/where.c assert( op!=TK_EQ || c==WO_EQ ); assert 417 ext/pdo_sqlite/sqlite/src/where.c assert( op!=TK_LT || c==WO_LT ); assert 418 ext/pdo_sqlite/sqlite/src/where.c assert( op!=TK_LE || c==WO_LE ); assert 419 ext/pdo_sqlite/sqlite/src/where.c assert( op!=TK_GT || c==WO_GT ); assert 420 ext/pdo_sqlite/sqlite/src/where.c assert( op!=TK_GE || c==WO_GE ); assert 465 ext/pdo_sqlite/sqlite/src/where.c assert( j<pIdx->nColumn ); assert 619 ext/pdo_sqlite/sqlite/src/where.c assert( pOrTerm->eOperator==WO_EQ ); assert 709 ext/pdo_sqlite/sqlite/src/where.c assert( pExpr->pRight==0 ); assert 772 ext/pdo_sqlite/sqlite/src/where.c assert( pList!=0 ); assert 773 ext/pdo_sqlite/sqlite/src/where.c assert( pList->nExpr==2 ); assert 808 ext/pdo_sqlite/sqlite/src/where.c assert( (pTerm->flags & TERM_DYNAMIC)==0 ); assert 812 ext/pdo_sqlite/sqlite/src/where.c assert( sOr.nTerm>=2 ); assert 815 ext/pdo_sqlite/sqlite/src/where.c assert( j<sOr.nTerm ); assert 842 ext/pdo_sqlite/sqlite/src/where.c assert( pLeft!=0 ); assert 882 ext/pdo_sqlite/sqlite/src/where.c assert( pStr2->token.dyn ); assert 990 ext/pdo_sqlite/sqlite/src/where.c assert( pOrderBy!=0 ); assert 992 ext/pdo_sqlite/sqlite/src/where.c assert( nTerm>0 ); assert 1046 ext/pdo_sqlite/sqlite/src/where.c assert( pIdx->aSortOrder!=0 ); assert 1047 ext/pdo_sqlite/sqlite/src/where.c assert( pTerm->sortOrder==0 || pTerm->sortOrder==1 ); assert 1048 ext/pdo_sqlite/sqlite/src/where.c assert( iSortOrder==0 || iSortOrder==1 ); assert 1102 ext/pdo_sqlite/sqlite/src/where.c assert( pOrderBy!=0 ); assert 1103 ext/pdo_sqlite/sqlite/src/where.c assert( pOrderBy->nExpr>0 ); assert 1278 ext/pdo_sqlite/sqlite/src/where.c assert( WO_EQ==SQLITE_INDEX_CONSTRAINT_EQ ); assert 1279 ext/pdo_sqlite/sqlite/src/where.c assert( WO_LT==SQLITE_INDEX_CONSTRAINT_LT ); assert 1280 ext/pdo_sqlite/sqlite/src/where.c assert( WO_LE==SQLITE_INDEX_CONSTRAINT_LE ); assert 1281 ext/pdo_sqlite/sqlite/src/where.c assert( WO_GT==SQLITE_INDEX_CONSTRAINT_GT ); assert 1282 ext/pdo_sqlite/sqlite/src/where.c assert( WO_GE==SQLITE_INDEX_CONSTRAINT_GE ); assert 1283 ext/pdo_sqlite/sqlite/src/where.c assert( WO_MATCH==SQLITE_INDEX_CONSTRAINT_MATCH ); assert 1284 ext/pdo_sqlite/sqlite/src/where.c assert( pTerm->eOperator & (WO_EQ|WO_LT|WO_LE|WO_GT|WO_GE|WO_MATCH) ); assert 1305 ext/pdo_sqlite/sqlite/src/where.c assert( pTab->azModuleArg && pTab->azModuleArg[0] ); assert 1306 ext/pdo_sqlite/sqlite/src/where.c assert( pTab->pVtab ); assert 1615 ext/pdo_sqlite/sqlite/src/where.c assert( flags!=0 ); assert 1715 ext/pdo_sqlite/sqlite/src/where.c assert( pX->op==TK_IN ); assert 1790 ext/pdo_sqlite/sqlite/src/where.c assert( pIdx->nColumn>=nEq ); assert 1795 ext/pdo_sqlite/sqlite/src/where.c assert( (pTerm->flags & TERM_CODED)==0 ); assert 2051 ext/pdo_sqlite/sqlite/src/where.c assert( pTabItem->pTab ); assert 2173 ext/pdo_sqlite/sqlite/src/where.c assert( n<=pTab->nCol ); assert 2181 ext/pdo_sqlite/sqlite/src/where.c assert( pIx->pSchema==pTab->pSchema ); assert 2289 ext/pdo_sqlite/sqlite/src/where.c assert( pTerm!=0 ); assert 2290 ext/pdo_sqlite/sqlite/src/where.c assert( pTerm->pExpr!=0 ); assert 2291 ext/pdo_sqlite/sqlite/src/where.c assert( pTerm->leftCursor==iCur ); assert 2292 ext/pdo_sqlite/sqlite/src/where.c assert( omitTable==0 ); assert 2306 ext/pdo_sqlite/sqlite/src/where.c assert( omitTable==0 ); assert 2317 ext/pdo_sqlite/sqlite/src/where.c assert( pX!=0 ); assert 2318 ext/pdo_sqlite/sqlite/src/where.c assert( pStart->leftCursor==iCur ); assert 2330 ext/pdo_sqlite/sqlite/src/where.c assert( pX!=0 ); assert 2331 ext/pdo_sqlite/sqlite/src/where.c assert( pEnd->leftCursor==iCur ); assert 2411 ext/pdo_sqlite/sqlite/src/where.c assert( pTerm!=0 ); assert 2413 ext/pdo_sqlite/sqlite/src/where.c assert( (pTerm->flags & TERM_CODED)==0 ); assert 2450 ext/pdo_sqlite/sqlite/src/where.c assert( pTerm!=0 ); assert 2452 ext/pdo_sqlite/sqlite/src/where.c assert( (pTerm->flags & TERM_CODED)==0 ); assert 2550 ext/pdo_sqlite/sqlite/src/where.c assert( omitTable==0 ); assert 2551 ext/pdo_sqlite/sqlite/src/where.c assert( bRev==0 ); assert 2566 ext/pdo_sqlite/sqlite/src/where.c assert( pE!=0 ); assert 2584 ext/pdo_sqlite/sqlite/src/where.c assert( pTerm->pExpr ); assert 2704 ext/pdo_sqlite/sqlite/src/where.c assert( pTab!=0 ); assert 2727 ext/pdo_sqlite/sqlite/src/where.c assert( pIdx!=0 ); assert 364 ext/pdo_sqlite/sqlite/tool/lemon.c assert( ap1->type==REDUCE || ap1->type==RD_RESOLVED || ap1->type==CONFLICT); assert 365 ext/pdo_sqlite/sqlite/tool/lemon.c assert( ap2->type==REDUCE || ap2->type==RD_RESOLVED || ap2->type==CONFLICT); assert 486 ext/pdo_sqlite/sqlite/tool/lemon.c assert( p->nLookahead>0 ); assert 975 ext/pdo_sqlite/sqlite/tool/lemon.c assert( stp->ap ); assert 1021 ext/pdo_sqlite/sqlite/tool/lemon.c assert( apx->sp==apy->sp ); /* Otherwise there would be no conflict */ assert 1038 ext/pdo_sqlite/sqlite/tool/lemon.c assert( spx->prec==spy->prec && spx->assoc==NONE ); assert 1055 ext/pdo_sqlite/sqlite/tool/lemon.c assert( assert 1135 ext/pdo_sqlite/sqlite/tool/lemon.c assert( currentend!=0 ); assert 1162 ext/pdo_sqlite/sqlite/tool/lemon.c assert( basisend!=0 ); assert 1163 ext/pdo_sqlite/sqlite/tool/lemon.c assert( currentend!=0 ); assert 1194 ext/pdo_sqlite/sqlite/tool/lemon.c assert( currentend!=0 ); assert 1272 ext/pdo_sqlite/sqlite/tool/lemon.c assert( cfp->fplp==0 ); assert 1273 ext/pdo_sqlite/sqlite/tool/lemon.c assert( cfp->bplp==0 ); assert 1743 ext/pdo_sqlite/sqlite/tool/lemon.c assert( cp!=0 ); assert 2730 ext/pdo_sqlite/sqlite/tool/lemon.c assert( sp->index==j ); assert 3099 ext/pdo_sqlite/sqlite/tool/lemon.c assert( 0 ); /* Cannot happen */ assert 3158 ext/pdo_sqlite/sqlite/tool/lemon.c assert( used>=0 ); assert 3748 ext/pdo_sqlite/sqlite/tool/lemon.c assert( rp->index==i ); assert 3956 ext/pdo_sqlite/sqlite/tool/lemon.c assert( ap ); assert 21 ext/pgsql/mysql_users.php assert(is_resource($db)); assert 40 ext/pgsql/mysql_users.php assert(is_resource($db)); assert 63 ext/pgsql/mysql_users.php assert(is_resource($db)); assert 4630 ext/pgsql/pgsql.c assert(Z_TYPE_P(src) == IS_STRING); assert 4631 ext/pgsql/pgsql.c assert(should_free == 1 || should_free == 0); assert 4675 ext/pgsql/pgsql.c assert(pg_link != NULL); assert 4676 ext/pgsql/pgsql.c assert(Z_TYPE_P(values) == IS_ARRAY); assert 4677 ext/pgsql/pgsql.c assert(Z_TYPE_P(result) == IS_ARRAY); assert 4678 ext/pgsql/pgsql.c assert(!(opt & ~PGSQL_CONV_OPTS)); assert 5366 ext/pgsql/pgsql.c assert(pg_link != NULL); assert 5367 ext/pgsql/pgsql.c assert(table != NULL); assert 5368 ext/pgsql/pgsql.c assert(Z_TYPE_P(var_array) == IS_ARRAY); assert 5547 ext/pgsql/pgsql.c assert(pg_link != NULL); assert 5548 ext/pgsql/pgsql.c assert(table != NULL); assert 5549 ext/pgsql/pgsql.c assert(Z_TYPE_P(var_array) == IS_ARRAY); assert 5550 ext/pgsql/pgsql.c assert(Z_TYPE_P(ids_array) == IS_ARRAY); assert 5551 ext/pgsql/pgsql.c assert(!(opt & ~(PGSQL_CONV_OPTS|PGSQL_DML_NO_CONV|PGSQL_DML_EXEC|PGSQL_DML_STRING))); assert 5656 ext/pgsql/pgsql.c assert(pg_link != NULL); assert 5657 ext/pgsql/pgsql.c assert(table != NULL); assert 5658 ext/pgsql/pgsql.c assert(Z_TYPE_P(ids_array) == IS_ARRAY); assert 5659 ext/pgsql/pgsql.c assert(!(opt & ~(PGSQL_CONV_FORCE_NULL|PGSQL_DML_EXEC|PGSQL_DML_STRING))); assert 5749 ext/pgsql/pgsql.c assert(Z_TYPE_P(ret_array) == IS_ARRAY); assert 5791 ext/pgsql/pgsql.c assert(pg_link != NULL); assert 5792 ext/pgsql/pgsql.c assert(table != NULL); assert 5793 ext/pgsql/pgsql.c assert(Z_TYPE_P(ids_array) == IS_ARRAY); assert 5794 ext/pgsql/pgsql.c assert(Z_TYPE_P(ret_array) == IS_ARRAY); assert 5795 ext/pgsql/pgsql.c assert(!(opt & ~(PGSQL_CONV_OPTS|PGSQL_DML_NO_CONV|PGSQL_DML_EXEC|PGSQL_DML_ASYNC|PGSQL_DML_STRING))); assert 3590 ext/soap/php_encoding.c assert(t->details.map == NULL); assert 2358 ext/soap/php_sdl.c assert(0); assert 2364 ext/soap/php_sdl.c assert(0); assert 2423 ext/soap/php_sdl.c assert(0); assert 2429 ext/soap/php_sdl.c assert(0); assert 2808 ext/soap/php_sdl.c assert(0); assert 2950 ext/soap/php_sdl.c assert(0); assert 2962 ext/soap/php_sdl.c assert(0); assert 3018 ext/soap/php_sdl.c assert(0); assert 118 ext/sqlite/libsqlite/src/attach.c assert( i>=2 ); assert 196 ext/sqlite/libsqlite/src/attach.c assert( db->nDb>iDb ); assert 117 ext/sqlite/libsqlite/src/auth.c assert( pExpr->op==TK_COLUMN ); assert 127 ext/sqlite/libsqlite/src/auth.c assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx ); assert 134 ext/sqlite/libsqlite/src/auth.c assert( pExpr->iColumn<pTab->nCol ); assert 137 ext/sqlite/libsqlite/src/auth.c assert( pTab->iPKey<pTab->nCol ); assert 142 ext/sqlite/libsqlite/src/auth.c assert( pExpr->iDb<db->nDb ); assert 426 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pPage) ); assert 427 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 436 ext/sqlite/libsqlite/src/btree.c assert( Addr(pCell) > Addr(pPage) ); assert 437 ext/sqlite/libsqlite/src/btree.c assert( Addr(pCell) < Addr(pPage) + SQLITE_USABLE_SIZE ); assert 445 ext/sqlite/libsqlite/src/btree.c assert( pPage->nFree==SQLITE_USABLE_SIZE-pc ); assert 479 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pPage) ); assert 480 ext/sqlite/libsqlite/src/btree.c assert( nByte==ROUNDUP(nByte) ); assert 481 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 486 ext/sqlite/libsqlite/src/btree.c assert( cnt++ < SQLITE_USABLE_SIZE/4 ); assert 527 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pPage) ); assert 528 ext/sqlite/libsqlite/src/btree.c assert( size == ROUNDUP(size) ); assert 529 ext/sqlite/libsqlite/src/btree.c assert( start == ROUNDUP(start) ); assert 530 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 588 ext/sqlite/libsqlite/src/btree.c assert( pPage->pParent==pParent ); assert 642 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pPage) ); assert 694 ext/sqlite/libsqlite/src/btree.c assert( sizeof(u32)==4 ); assert 695 ext/sqlite/libsqlite/src/btree.c assert( sizeof(u16)==2 ); assert 696 ext/sqlite/libsqlite/src/btree.c assert( sizeof(Pgno)==4 ); assert 697 ext/sqlite/libsqlite/src/btree.c assert( sizeof(PageHdr)==8 ); assert 698 ext/sqlite/libsqlite/src/btree.c assert( sizeof(CellHdr)==12 ); assert 699 ext/sqlite/libsqlite/src/btree.c assert( sizeof(FreeBlk)==4 ); assert 700 ext/sqlite/libsqlite/src/btree.c assert( sizeof(OverflowPage)==SQLITE_USABLE_SIZE ); assert 701 ext/sqlite/libsqlite/src/btree.c assert( sizeof(FreelistInfo)==OVERFLOW_SIZE ); assert 702 ext/sqlite/libsqlite/src/btree.c assert( sizeof(ptr)==sizeof(char*) ); assert 703 ext/sqlite/libsqlite/src/btree.c assert( sizeof(uptr)==sizeof(ptr) ); assert 1158 ext/sqlite/libsqlite/src/btree.c assert( pPage!=0 ); assert 1181 ext/sqlite/libsqlite/src/btree.c assert( pCur!=0 && pCur->pPage!=0 ); assert 1182 ext/sqlite/libsqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pCur->pPage->nCell ); assert 1245 ext/sqlite/libsqlite/src/btree.c assert( amt>=0 ); assert 1246 ext/sqlite/libsqlite/src/btree.c assert( offset>=0 ); assert 1247 ext/sqlite/libsqlite/src/btree.c assert( pCur->pPage!=0 ); assert 1252 ext/sqlite/libsqlite/src/btree.c assert( amt+offset <= NKEY(pCur->pBt, pPage->apCell[pCur->idx]->h) ); assert 1269 ext/sqlite/libsqlite/src/btree.c assert( pPage!=0 ); assert 1291 ext/sqlite/libsqlite/src/btree.c assert( amt>=0 ); assert 1292 ext/sqlite/libsqlite/src/btree.c assert( offset>=0 ); assert 1293 ext/sqlite/libsqlite/src/btree.c assert( pCur->pPage!=0 ); assert 1299 ext/sqlite/libsqlite/src/btree.c assert( amt+offset <= NDATA(pCur->pBt, pCell->h) ); assert 1338 ext/sqlite/libsqlite/src/btree.c assert( pCur->pPage ); assert 1339 ext/sqlite/libsqlite/src/btree.c assert( pCur->idx>=0 && pCur->idx<pCur->pPage->nCell ); assert 1401 ext/sqlite/libsqlite/src/btree.c assert( pCur->idx>=pCur->pPage->nCell assert 1403 ext/sqlite/libsqlite/src/btree.c assert( pCur->idx<pCur->pPage->nCell assert 1430 ext/sqlite/libsqlite/src/btree.c assert( pPage!=0 ); assert 1432 ext/sqlite/libsqlite/src/btree.c assert( pParent!=0 ); assert 1437 ext/sqlite/libsqlite/src/btree.c assert( pParent->idxShift==0 ); assert 1446 ext/sqlite/libsqlite/src/btree.c assert( pParent->apCell[idxParent]->h.leftChild==oldPgno ); assert 1448 ext/sqlite/libsqlite/src/btree.c assert( pParent->u.hdr.rightChild==oldPgno ); assert 1550 ext/sqlite/libsqlite/src/btree.c assert( pCur->pPage->isInit ); assert 1613 ext/sqlite/libsqlite/src/btree.c assert( lwr==upr+1 ); assert 1614 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 1641 ext/sqlite/libsqlite/src/btree.c assert( pRes!=0 ); assert 1646 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 1647 ext/sqlite/libsqlite/src/btree.c assert( pCur->eSkip!=SKIP_INVALID ); assert 1652 ext/sqlite/libsqlite/src/btree.c assert( pCur->idx<pPage->nCell ); assert 1702 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 1703 ext/sqlite/libsqlite/src/btree.c assert( pCur->eSkip!=SKIP_INVALID ); assert 1714 ext/sqlite/libsqlite/src/btree.c assert( pCur->idx>=0 ); assert 1824 ext/sqlite/libsqlite/src/btree.c assert( pOvfl!=0 ); assert 1827 ext/sqlite/libsqlite/src/btree.c assert( pgno>2 ); assert 1828 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_pagenumber(pOvfl)==pgno ); assert 1861 ext/sqlite/libsqlite/src/btree.c assert( pgno>0 ); assert 1987 ext/sqlite/libsqlite/src/btree.c assert( pPager!=0 ); assert 2033 ext/sqlite/libsqlite/src/btree.c assert( idx>=0 && idx<pPage->nCell ); assert 2034 ext/sqlite/libsqlite/src/btree.c assert( sz==cellSize(pBt, pPage->apCell[idx]) ); assert 2035 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pPage) ); assert 2059 ext/sqlite/libsqlite/src/btree.c assert( i>=0 && i<=pPage->nCell ); assert 2060 ext/sqlite/libsqlite/src/btree.c assert( sz==cellSize(pBt, pCell) ); assert 2061 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pPage) ); assert 2086 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pPage) ); assert 2090 ext/sqlite/libsqlite/src/btree.c assert( idx>0 && idx<SQLITE_USABLE_SIZE ); assert 2210 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pPage) ); assert 2226 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 2240 ext/sqlite/libsqlite/src/btree.c assert( rc==SQLITE_OK ); assert 2272 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pChild) ); assert 2291 ext/sqlite/libsqlite/src/btree.c assert( pParent->isInit ); assert 2307 ext/sqlite/libsqlite/src/btree.c assert( idx<pParent->nCell || pParent->u.hdr.rightChild==swabPgno ); assert 2405 ext/sqlite/libsqlite/src/btree.c assert( SWAB32(pBt, apCell[nCell]->h.leftChild)==pgnoOld[i] ); assert 2436 ext/sqlite/libsqlite/src/btree.c assert( cntNew[i-1]>0 ); assert 2441 ext/sqlite/libsqlite/src/btree.c assert( cntNew[0]>0 ); assert 2514 ext/sqlite/libsqlite/src/btree.c assert( pNew->nFree>=szCell[j] ); assert 2519 ext/sqlite/libsqlite/src/btree.c assert( pNew->nCell>0 ); assert 2520 ext/sqlite/libsqlite/src/btree.c assert( !pNew->isOverfull ); assert 2531 ext/sqlite/libsqlite/src/btree.c assert( j==nCell ); assert 2540 ext/sqlite/libsqlite/src/btree.c assert( pCur->pPage==pOldCurPage ); assert 2543 ext/sqlite/libsqlite/src/btree.c assert( pOldCurPage!=0 ); assert 2601 ext/sqlite/libsqlite/src/btree.c assert( pCur->wrFlag ); assert 2603 ext/sqlite/libsqlite/src/btree.c assert( p ); assert 2604 ext/sqlite/libsqlite/src/btree.c assert( p->pgnoRoot==pCur->pgnoRoot ); assert 2638 ext/sqlite/libsqlite/src/btree.c assert( !pBt->readOnly ); assert 2648 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 2660 ext/sqlite/libsqlite/src/btree.c assert( pPage->u.hdr.rightChild==0 ); /* Must be a leaf page */ assert 2663 ext/sqlite/libsqlite/src/btree.c assert( pPage->u.hdr.rightChild==0 ); /* Must be a leaf page */ assert 2694 ext/sqlite/libsqlite/src/btree.c assert( pPage->isInit ); assert 2702 ext/sqlite/libsqlite/src/btree.c assert( !pBt->readOnly ); assert 2789 ext/sqlite/libsqlite/src/btree.c assert( sqlitepager_iswriteable(pRoot) ); assert 3489 ext/sqlite/libsqlite/src/btree.c assert( pBt->pPager!=0 ); assert 162 ext/sqlite/libsqlite/src/btree_rb.c assert( pCur->wrFlag ); assert 396 ext/sqlite/libsqlite/src/btree_rb.c default: assert(0); assert 423 ext/sqlite/libsqlite/src/btree_rb.c assert( pGrandparent ); assert 424 ext/sqlite/libsqlite/src/btree_rb.c assert( pGrandparent->isBlack ); assert 477 ext/sqlite/libsqlite/src/btree_rb.c assert( pGrandparent == pX->pParent->pParent ); assert 488 ext/sqlite/libsqlite/src/btree_rb.c assert( pGrandparent == pX->pParent->pParent ); assert 597 ext/sqlite/libsqlite/src/btree_rb.c assert( pRbtree->eTransState == TRANS_INCHECKPOINT || assert 646 ext/sqlite/libsqlite/src/btree_rb.c assert( tree->eTransState != TRANS_NONE ); assert 671 ext/sqlite/libsqlite/src/btree_rb.c assert( tree->eTransState != TRANS_NONE ); assert 675 ext/sqlite/libsqlite/src/btree_rb.c assert(pTree); assert 676 ext/sqlite/libsqlite/src/btree_rb.c assert( pTree->pCursors==0 ); assert 693 ext/sqlite/libsqlite/src/btree_rb.c assert(pCur); assert 721 ext/sqlite/libsqlite/src/btree_rb.c assert(tree); assert 725 ext/sqlite/libsqlite/src/btree_rb.c assert( pCur->pTree ); assert 733 ext/sqlite/libsqlite/src/btree_rb.c assert( (*ppCur)->pTree ); assert 757 ext/sqlite/libsqlite/src/btree_rb.c assert( pCur->pRbtree->eTransState != TRANS_NONE ); assert 794 ext/sqlite/libsqlite/src/btree_rb.c assert( !pCur->pNode->pRight ); assert 799 ext/sqlite/libsqlite/src/btree_rb.c assert( !pCur->pNode->pLeft ); assert 804 ext/sqlite/libsqlite/src/btree_rb.c assert(0); assert 927 ext/sqlite/libsqlite/src/btree_rb.c assert( pCur->pRbtree->eTransState != TRANS_NONE ); assert 964 ext/sqlite/libsqlite/src/btree_rb.c assert( dummy == 0 ); assert 997 ext/sqlite/libsqlite/src/btree_rb.c assert( !pZ->pLeft || !pZ->pRight ); /* pZ has at most one child */ assert 1000 ext/sqlite/libsqlite/src/btree_rb.c assert( pZ == pZ->pParent->pLeft || pZ == pZ->pParent->pRight ); assert 1032 ext/sqlite/libsqlite/src/btree_rb.c assert(pTree); assert 1216 ext/sqlite/libsqlite/src/btree_rb.c assert( p!=0 ); assert 1269 ext/sqlite/libsqlite/src/btree_rb.c assert( tree->pTransRollback == 0 ); assert 1329 ext/sqlite/libsqlite/src/btree_rb.c assert(cur.pTree); assert 1337 ext/sqlite/libsqlite/src/btree_rb.c assert(cur.pTree); assert 1341 ext/sqlite/libsqlite/src/btree_rb.c assert(res == 0); assert 1351 ext/sqlite/libsqlite/src/btree_rb.c assert(0); assert 1378 ext/sqlite/libsqlite/src/btree_rb.c assert( tree->pCheckRollback == 0 ); assert 1379 ext/sqlite/libsqlite/src/btree_rb.c assert( tree->pCheckRollbackTail == 0 ); assert 1412 ext/sqlite/libsqlite/src/btree_rb.c assert(!"Cannot call sqliteRbtreePageDump"); assert 1418 ext/sqlite/libsqlite/src/btree_rb.c assert(!"Cannot call sqliteRbtreeCursorDump"); assert 180 ext/sqlite/libsqlite/src/build.c assert( db!=0 && p->zName!=0 ); assert 224 ext/sqlite/libsqlite/src/build.c assert( iDb>=0 && iDb<db->nDb ); assert 247 ext/sqlite/libsqlite/src/build.c assert( iDb==0 ); assert 329 ext/sqlite/libsqlite/src/build.c assert( pIndex->iDb==pTable->iDb || (pTable->iDb==0 && pIndex->iDb==1) ); assert 338 ext/sqlite/libsqlite/src/build.c assert( pTable->iDb<db->nDb ); assert 339 ext/sqlite/libsqlite/src/build.c assert( sqliteHashFind(&db->aDb[pTable->iDb].aFKey, assert 365 ext/sqlite/libsqlite/src/build.c assert( db!=0 ); assert 367 ext/sqlite/libsqlite/src/build.c assert( pOld==0 || pOld==p ); assert 442 ext/sqlite/libsqlite/src/build.c assert( (isTemp & 1)==isTemp ); assert 897 ext/sqlite/libsqlite/src/build.c assert( p->aCol==0 ); assert 948 ext/sqlite/libsqlite/src/build.c assert( pEnd!=0 ); assert 975 ext/sqlite/libsqlite/src/build.c assert( p==pOld ); /* Malloc must have failed inside HashInsert() */ assert 1059 ext/sqlite/libsqlite/src/build.c assert( pTable ); assert 1083 ext/sqlite/libsqlite/src/build.c assert( pTable->pSelect ); /* If nCol==0, then pTable must be a VIEW */ assert 1100 ext/sqlite/libsqlite/src/build.c assert( pTable->aCol==0 ); assert 1128 ext/sqlite/libsqlite/src/build.c assert( pTable!=0 && pTable->pSelect!=0 ); assert 1186 ext/sqlite/libsqlite/src/build.c assert( iDb>=0 && iDb<db->nDb ); assert 1252 ext/sqlite/libsqlite/src/build.c assert( pTrigger->iDb==pTable->iDb || pTrigger->iDb==1 ); assert 1312 ext/sqlite/libsqlite/src/build.c assert( pIdx!=0 && pIdx->pTable!=0 ); assert 1319 ext/sqlite/libsqlite/src/build.c assert( iCol>=0 && iCol<pTab->nCol ); assert 1363 ext/sqlite/libsqlite/src/build.c assert( pTo!=0 ); assert 1502 ext/sqlite/libsqlite/src/build.c assert( pName!=0 ); assert 1503 ext/sqlite/libsqlite/src/build.c assert( pTable->nSrc==1 ); assert 1506 ext/sqlite/libsqlite/src/build.c assert( pName==0 ); assert 1569 ext/sqlite/libsqlite/src/build.c assert( pTab->iDb==db->init.iDb || isTemp ); assert 1632 ext/sqlite/libsqlite/src/build.c assert( p==pIndex ); /* Malloc must have failed */ assert 1763 ext/sqlite/libsqlite/src/build.c assert( pName->nSrc==1 ); assert 2089 ext/sqlite/libsqlite/src/build.c assert( iDb>=0 && iDb<db->nDb ); assert 2090 ext/sqlite/libsqlite/src/build.c assert( db->aDb[iDb].pBt!=0 ); assert 46 ext/sqlite/libsqlite/src/copy.c assert( pTableName->nSrc==1 ); assert 51 ext/sqlite/libsqlite/src/copy.c assert( pTab->iDb<db->nDb ); assert 84 ext/sqlite/libsqlite/src/delete.c assert( pTabList->nSrc==1 ); assert 102 ext/sqlite/libsqlite/src/delete.c assert( pTab->iDb<db->nDb ); assert 122 ext/sqlite/libsqlite/src/delete.c assert( pTabList->nSrc==1 ); assert 161 ext/sqlite/libsqlite/src/encode.c assert( j==n+m+1 ); assert 36 ext/sqlite/libsqlite/src/expr.c assert( pToken->dyn==0 ); assert 40 ext/sqlite/libsqlite/src/expr.c assert( pNew->token.dyn==0 ); assert 41 ext/sqlite/libsqlite/src/expr.c assert( pNew->token.z==0 ); assert 42 ext/sqlite/libsqlite/src/expr.c assert( pNew->token.n==0 ); assert 57 ext/sqlite/libsqlite/src/expr.c assert( pRight!=0 ); assert 58 ext/sqlite/libsqlite/src/expr.c assert( pLeft!=0 ); assert 84 ext/sqlite/libsqlite/src/expr.c assert( pToken->dyn==0 ); assert 130 ext/sqlite/libsqlite/src/expr.c assert( pNew->token.z==0 ); assert 171 ext/sqlite/libsqlite/src/expr.c assert( pNewExpr==0 || pNewExpr->span.z!=0 assert 255 ext/sqlite/libsqlite/src/expr.c assert( pList->nAlloc==0 ); assert 266 ext/sqlite/libsqlite/src/expr.c assert( pList->a!=0 ); assert 285 ext/sqlite/libsqlite/src/expr.c assert( pList->a!=0 || (pList->nExpr==0 && pList->nAlloc==0) ); assert 286 ext/sqlite/libsqlite/src/expr.c assert( pList->nExpr<=pList->nAlloc ); assert 426 ext/sqlite/libsqlite/src/expr.c assert( pColumnToken && pColumnToken->z ); /* The Z in X.Y.Z cannot be NULL */ assert 437 ext/sqlite/libsqlite/src/expr.c assert( zDb==0 ); assert 445 ext/sqlite/libsqlite/src/expr.c assert( zTab==0 || pEList==0 ); assert 454 ext/sqlite/libsqlite/src/expr.c assert( pTab->nCol>0 ); assert 492 ext/sqlite/libsqlite/src/expr.c assert( pTriggerStack->pTab ); assert 496 ext/sqlite/libsqlite/src/expr.c assert( pTriggerStack->pTab ); assert 542 ext/sqlite/libsqlite/src/expr.c assert( pExpr->pLeft==0 && pExpr->pRight==0 ); assert 547 ext/sqlite/libsqlite/src/expr.c assert( zTab==0 && zDb==0 ); assert 639 ext/sqlite/libsqlite/src/expr.c assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab ); assert 674 ext/sqlite/libsqlite/src/expr.c assert( pRight->op==TK_DOT ); assert 727 ext/sqlite/libsqlite/src/expr.c assert( pE2->token.z ); assert 978 ext/sqlite/libsqlite/src/expr.c assert( p->pSelect ); assert 979 ext/sqlite/libsqlite/src/expr.c assert( p->pSelect->pEList ); assert 980 ext/sqlite/libsqlite/src/expr.c assert( p->pSelect->pEList->nExpr>0 ); assert 1001 ext/sqlite/libsqlite/src/expr.c assert( p->op==TK_ABORT ); /* Can't Happen */ assert 1059 ext/sqlite/libsqlite/src/expr.c assert( pExpr->token.z ); assert 1111 ext/sqlite/libsqlite/src/expr.c assert( pExpr->pLeft ); assert 1157 ext/sqlite/libsqlite/src/expr.c assert( pDef!=0 ); assert 1206 ext/sqlite/libsqlite/src/expr.c assert(pExpr->pList); assert 1207 ext/sqlite/libsqlite/src/expr.c assert((pExpr->pList->nExpr % 2) == 0); assert 1208 ext/sqlite/libsqlite/src/expr.c assert(pExpr->pList->nExpr > 0); assert 1253 ext/sqlite/libsqlite/src/expr.c assert( pExpr->iColumn == OE_Ignore ); assert 1439 ext/sqlite/libsqlite/src/expr.c assert( OP_Eq+6 == OP_StrEq ); assert 1652 ext/sqlite/libsqlite/src/expr.c assert( createFlag==0 ); assert 59 ext/sqlite/libsqlite/src/func.c assert( argc==2 ); assert 70 ext/sqlite/libsqlite/src/func.c assert( argc==1 ); assert 86 ext/sqlite/libsqlite/src/func.c assert( argc==1 ); assert 103 ext/sqlite/libsqlite/src/func.c assert( argc==3 ); assert 146 ext/sqlite/libsqlite/src/func.c assert( argc==1 || argc==2 ); assert 338 ext/sqlite/libsqlite/src/func.c assert( argc==1 ); assert 393 ext/sqlite/libsqlite/src/func.c assert( n<sizeof(zBuf) ); assert 519 ext/sqlite/libsqlite/src/func.c assert( argc==2 ); assert 527 ext/sqlite/libsqlite/src/func.c assert( mask==0 || mask==-1 ); assert 33 ext/sqlite/libsqlite/src/hash.c assert( new!=0 ); assert 34 ext/sqlite/libsqlite/src/hash.c assert( keyClass>=SQLITE_HASH_INT && keyClass<=SQLITE_HASH_BINARY ); assert 51 ext/sqlite/libsqlite/src/hash.c assert( pH!=0 ); assert 171 ext/sqlite/libsqlite/src/hash.c assert( (new_size & (new_size-1))==0 ); assert 268 ext/sqlite/libsqlite/src/hash.c assert( xHash!=0 ); assert 270 ext/sqlite/libsqlite/src/hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 297 ext/sqlite/libsqlite/src/hash.c assert( pH!=0 ); assert 299 ext/sqlite/libsqlite/src/hash.c assert( xHash!=0 ); assert 301 ext/sqlite/libsqlite/src/hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 337 ext/sqlite/libsqlite/src/hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 124 ext/sqlite/libsqlite/src/insert.c assert( pTabList->nSrc==1 ); assert 131 ext/sqlite/libsqlite/src/insert.c assert( pTab->iDb<db->nDb ); assert 188 ext/sqlite/libsqlite/src/insert.c assert( pSelect->pEList ); assert 240 ext/sqlite/libsqlite/src/insert.c assert( pList!=0 ); assert 243 ext/sqlite/libsqlite/src/insert.c assert( pList ); assert 644 ext/sqlite/libsqlite/src/insert.c assert( v!=0 ); assert 645 ext/sqlite/libsqlite/src/insert.c assert( pTab->pSelect==0 ); /* This table is not a VIEW */ assert 689 ext/sqlite/libsqlite/src/insert.c default: assert(0); assert 741 ext/sqlite/libsqlite/src/insert.c assert( seenReplace==0 ); assert 829 ext/sqlite/libsqlite/src/insert.c assert( seenReplace==0 ); assert 843 ext/sqlite/libsqlite/src/insert.c default: assert(0); assert 878 ext/sqlite/libsqlite/src/insert.c assert( v!=0 ); assert 879 ext/sqlite/libsqlite/src/insert.c assert( pTab->pSelect==0 ); /* This table is not a VIEW */ assert 911 ext/sqlite/libsqlite/src/insert.c assert( v!=0 ); assert 60 ext/sqlite/libsqlite/src/main.c assert( argc==5 ); assert 82 ext/sqlite/libsqlite/src/main.c assert( db->init.busy ); assert 84 ext/sqlite/libsqlite/src/main.c assert( db->init.iDb>=0 && db->init.iDb<db->nDb ); assert 102 ext/sqlite/libsqlite/src/main.c assert( iDb>=0 && iDb<db->nDb ); assert 120 ext/sqlite/libsqlite/src/main.c assert( nErr==0 ); assert 147 ext/sqlite/libsqlite/src/main.c assert( pTab!=0 ); assert 148 ext/sqlite/libsqlite/src/main.c assert( sqliteStrICmp(pTab->zName, argv[0])==0 ); assert 171 ext/sqlite/libsqlite/src/main.c assert( sqliteStrICmp(pTab->zName, argv[0])==0 ); assert 222 ext/sqlite/libsqlite/src/main.c assert( iDb>=0 && iDb<db->nDb ); assert 303 ext/sqlite/libsqlite/src/main.c assert( db->file_format>=4 ); assert 320 ext/sqlite/libsqlite/src/main.c assert( db->init.busy ); assert 383 ext/sqlite/libsqlite/src/main.c assert( (db->flags & SQLITE_Initialized)==0 ); assert 585 ext/sqlite/libsqlite/src/main.c assert( db->nDb<=2 ); assert 586 ext/sqlite/libsqlite/src/main.c assert( db->aDb==db->aDbStatic ); assert 642 ext/sqlite/libsqlite/src/main.c assert( pVm==0 || sqlite_malloc_failed ); assert 724 ext/sqlite/libsqlite/src/main.c assert( (db->flags & SQLITE_Initialized)!=0 || db->init.busy ); assert 767 ext/sqlite/libsqlite/src/main.c assert( ppVm ); assert 1116 ext/sqlite/libsqlite/src/main.c assert( ppBtree != 0); assert 322 ext/sqlite/libsqlite/src/os.c assert( pOld==pLock ); assert 345 ext/sqlite/libsqlite/src/os.c assert( pOld==pOpen ); assert 771 ext/sqlite/libsqlite/src/os.c assert( id->dirfd<0 ); assert 1553 ext/sqlite/libsqlite/src/os.c assert( id->pLock->cnt!=0 ); assert 1578 ext/sqlite/libsqlite/src/os.c assert( pOpen->nLock>=0 ); assert 1751 ext/sqlite/libsqlite/src/os.c assert( !inMutex ); assert 1755 ext/sqlite/libsqlite/src/os.c assert( inMutex ); assert 396 ext/sqlite/libsqlite/src/pager.c assert( pPg->pPrevCkpt==0 && pPg->pNextCkpt==0 ); assert 408 ext/sqlite/libsqlite/src/pager.c assert( pPg->pPrevCkpt->pNextCkpt==pPg ); assert 411 ext/sqlite/libsqlite/src/pager.c assert( pPg->pPager->pCkpt==pPg ); assert 415 ext/sqlite/libsqlite/src/pager.c assert( pPg->pNextCkpt->pPrevCkpt==pPg ); assert 460 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen==0 ); assert 494 ext/sqlite/libsqlite/src/pager.c assert( pPager->dirtyFile==0 || pPager->useJournal==0 ); assert 570 ext/sqlite/libsqlite/src/pager.c assert( pPg->nRef==0 || pPg->pgno==1 ); assert 644 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen ); assert 698 ext/sqlite/libsqlite/src/pager.c assert( nRec*JOURNAL_PG_SZ(2)+JOURNAL_HDR_SZ(2)==szJ ); assert 704 ext/sqlite/libsqlite/src/pager.c assert( pPager->origDbSize==0 || pPager->origDbSize==mxPg ); assert 788 ext/sqlite/libsqlite/src/pager.c assert( pPager->ckptInUse && pPager->journalOpen ); assert 799 ext/sqlite/libsqlite/src/pager.c assert( rc!=SQLITE_DONE ); assert 818 ext/sqlite/libsqlite/src/pager.c assert( rc!=SQLITE_DONE ); assert 1015 ext/sqlite/libsqlite/src/pager.c assert( pPager!=0 ); assert 1073 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen==0 ); assert 1090 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen==0 ); assert 1098 ext/sqlite/libsqlite/src/pager.c assert( 0 ); /* Cannot happen */ assert 1184 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen ); assert 1197 ext/sqlite/libsqlite/src/pager.c assert( pPager->nRec*pgSz+hdrSz==jSz ); assert 1237 ext/sqlite/libsqlite/src/pager.c assert( pPg->needSync==0 ); assert 1239 ext/sqlite/libsqlite/src/pager.c assert( pPager->pFirstSynced==pPager->pFirst ); assert 1258 ext/sqlite/libsqlite/src/pager.c assert( pList->dirty ); assert 1317 ext/sqlite/libsqlite/src/pager.c assert( pPager!=0 ); assert 1318 ext/sqlite/libsqlite/src/pager.c assert( pgno!=0 ); assert 1362 ext/sqlite/libsqlite/src/pager.c assert( rc==SQLITE_OK ); assert 1422 ext/sqlite/libsqlite/src/pager.c assert( pPg->nRef==0 ); assert 1427 ext/sqlite/libsqlite/src/pager.c assert( pPg->needSync==0 ); assert 1435 ext/sqlite/libsqlite/src/pager.c assert( pPg->dirty==0 ); assert 1459 ext/sqlite/libsqlite/src/pager.c assert( pPager->pFirst==pPg ); assert 1465 ext/sqlite/libsqlite/src/pager.c assert( pPager->pLast==pPg ); assert 1476 ext/sqlite/libsqlite/src/pager.c assert( pPager->aHash[h]==pPg ); assert 1485 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen ); assert 1506 ext/sqlite/libsqlite/src/pager.c assert( pPg->pNextHash->pPrevHash==0 ); assert 1560 ext/sqlite/libsqlite/src/pager.c assert( pPager!=0 ); assert 1561 ext/sqlite/libsqlite/src/pager.c assert( pgno!=0 ); assert 1589 ext/sqlite/libsqlite/src/pager.c assert( pPg->nRef>0 ); assert 1618 ext/sqlite/libsqlite/src/pager.c assert( pPager->nRef>=0 ); assert 1635 ext/sqlite/libsqlite/src/pager.c assert( pPager->state==SQLITE_WRITELOCK ); assert 1636 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen==0 ); assert 1637 ext/sqlite/libsqlite/src/pager.c assert( pPager->useJournal ); assert 1676 ext/sqlite/libsqlite/src/pager.c assert( journal_format==JOURNAL_FORMAT_1 ); assert 1718 ext/sqlite/libsqlite/src/pager.c assert( pPg->nRef>0 ); assert 1719 ext/sqlite/libsqlite/src/pager.c assert( pPager->state!=SQLITE_UNLOCK ); assert 1721 ext/sqlite/libsqlite/src/pager.c assert( pPager->aInJournal==0 ); assert 1783 ext/sqlite/libsqlite/src/pager.c assert( pPager->state!=SQLITE_UNLOCK ); assert 1788 ext/sqlite/libsqlite/src/pager.c assert( pPager->state==SQLITE_WRITELOCK ); assert 1793 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen || !pPager->useJournal ); assert 1826 ext/sqlite/libsqlite/src/pager.c assert( pPager->aInJournal!=0 ); assert 1849 ext/sqlite/libsqlite/src/pager.c assert( pPg->inJournal || (int)pPg->pgno>pPager->origDbSize ); assert 1861 ext/sqlite/libsqlite/src/pager.c assert( pPager->aInCkpt!=0 ); assert 1962 ext/sqlite/libsqlite/src/pager.c assert( pPager->aInJournal!=0 ); assert 1972 ext/sqlite/libsqlite/src/pager.c assert( pPg->inJournal || (int)pPg->pgno>pPager->origDbSize ); assert 1973 ext/sqlite/libsqlite/src/pager.c assert( pPager->aInCkpt!=0 ); assert 2008 ext/sqlite/libsqlite/src/pager.c assert( pPager->needSync==0 ); assert 2013 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen ); assert 2117 ext/sqlite/libsqlite/src/pager.c assert( pPager->journalOpen ); assert 2118 ext/sqlite/libsqlite/src/pager.c assert( !pPager->ckptInUse ); assert 2127 ext/sqlite/libsqlite/src/pager.c assert( pPager->ckptJSize == assert 2164 ext/sqlite/libsqlite/src/pager.c assert( pPg->inCkpt ); assert 412 ext/sqlite/libsqlite/src/pragma.c assert( pTab->nCol>cnum ); assert 494 ext/sqlite/libsqlite/src/pragma.c assert( db->aDb[i].zName!=0 ); assert 581 ext/sqlite/libsqlite/src/printf.c assert( k>=0 && k<pSrc->nSrc ); assert 268 ext/sqlite/libsqlite/src/select.c assert( i<pSrc->nSrc-1 ); assert 418 ext/sqlite/libsqlite/src/select.c assert( pEList!=0 ); assert 506 ext/sqlite/libsqlite/src/select.c assert( nColumn==1 ); assert 525 ext/sqlite/libsqlite/src/select.c assert( nColumn==1 ); assert 543 ext/sqlite/libsqlite/src/select.c assert( eDest==SRT_Callback ); assert 568 ext/sqlite/libsqlite/src/select.c assert( eDest==SRT_Discard ); assert 609 ext/sqlite/libsqlite/src/select.c assert( nColumn==1 ); assert 618 ext/sqlite/libsqlite/src/select.c assert( nColumn==1 ); assert 674 ext/sqlite/libsqlite/src/select.c assert( j<pTabList->nSrc ); assert 677 ext/sqlite/libsqlite/src/select.c assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); assert 709 ext/sqlite/libsqlite/src/select.c assert( v!=0 ); assert 729 ext/sqlite/libsqlite/src/select.c assert( j<pTabList->nSrc ); assert 732 ext/sqlite/libsqlite/src/select.c assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); assert 757 ext/sqlite/libsqlite/src/select.c assert( p->op!=TK_COLUMN || pTabList==0 ); assert 803 ext/sqlite/libsqlite/src/select.c assert( pTab->nCol>0 ); assert 877 ext/sqlite/libsqlite/src/select.c assert( pTabList->a[i].pSelect!=0 ); assert 1130 ext/sqlite/libsqlite/src/select.c assert( pE->token.z ); assert 1212 ext/sqlite/libsqlite/src/select.c assert( pE->iColumn>=0 ); assert 1411 ext/sqlite/libsqlite/src/select.c assert( p->pEList ); assert 1476 ext/sqlite/libsqlite/src/select.c assert( p->pEList ); assert 1503 ext/sqlite/libsqlite/src/select.c assert( p->pEList && pPrior->pEList ); assert 1533 ext/sqlite/libsqlite/src/select.c assert( pEList!=0 && pExpr->iColumn<pEList->nExpr ); assert 1534 ext/sqlite/libsqlite/src/select.c assert( pExpr->pLeft==0 && pExpr->pRight==0 && pExpr->pList==0 ); assert 1536 ext/sqlite/libsqlite/src/select.c assert( pNew!=0 ); assert 1539 ext/sqlite/libsqlite/src/select.c assert( pExpr->pLeft==0 ); assert 1541 ext/sqlite/libsqlite/src/select.c assert( pExpr->pRight==0 ); assert 1543 ext/sqlite/libsqlite/src/select.c assert( pExpr->pList==0 ); assert 1654 ext/sqlite/libsqlite/src/select.c assert( pSrc && iFrom>=0 && iFrom<pSrc->nSrc ); assert 1656 ext/sqlite/libsqlite/src/select.c assert( pSub!=0 ); assert 1660 ext/sqlite/libsqlite/src/select.c assert( pSubSrc ); assert 1767 ext/sqlite/libsqlite/src/select.c assert( p->pOrderBy==0 ); assert 1779 ext/sqlite/libsqlite/src/select.c assert( p->pHaving==0 ); assert 1791 ext/sqlite/libsqlite/src/select.c assert( p->pGroupBy==0 ); assert 1895 ext/sqlite/libsqlite/src/select.c assert( pIdx->nColumn>=1 ); assert 2267 ext/sqlite/libsqlite/src/select.c assert( pParse->nAgg==0 ); assert 2367 ext/sqlite/libsqlite/src/select.c assert( pAgg->pFunc!=0 ); assert 2368 ext/sqlite/libsqlite/src/select.c assert( pAgg->pFunc->xStep!=0 ); assert 2371 ext/sqlite/libsqlite/src/select.c assert( pE!=0 ); assert 2372 ext/sqlite/libsqlite/src/select.c assert( pE->op==TK_AGG_FUNCTION ); assert 2417 ext/sqlite/libsqlite/src/select.c assert( pParent->pSrc->nSrc>parentTab ); assert 2418 ext/sqlite/libsqlite/src/select.c assert( pParent->pSrc->a[parentTab].pSelect==p ); assert 420 ext/sqlite/libsqlite/src/tokenize.c assert( i>=0 ); assert 422 ext/sqlite/libsqlite/src/tokenize.c assert( pParse->sLastToken.dyn==0 ); assert 67 ext/sqlite/libsqlite/src/trigger.c assert( pTableName->nSrc==1 ); assert 145 ext/sqlite/libsqlite/src/trigger.c assert( pParse->pNewTrigger==0 ); assert 219 ext/sqlite/libsqlite/src/trigger.c assert( pTab!=0 ); assert 305 ext/sqlite/libsqlite/src/trigger.c assert(pEList == 0 || pSelect == 0); assert 306 ext/sqlite/libsqlite/src/trigger.c assert(pEList != 0 || pSelect != 0); assert 397 ext/sqlite/libsqlite/src/trigger.c assert( pName->nSrc==1 ); assert 427 ext/sqlite/libsqlite/src/trigger.c assert( pTrigger->iDb<db->nDb ); assert 434 ext/sqlite/libsqlite/src/trigger.c assert(pTable); assert 435 ext/sqlite/libsqlite/src/trigger.c assert( pTable->iDb==pTrigger->iDb || pTrigger->iDb==1 ); assert 493 ext/sqlite/libsqlite/src/trigger.c assert(cc); assert 586 ext/sqlite/libsqlite/src/trigger.c assert( iDb<pParse->db->nDb ); assert 616 ext/sqlite/libsqlite/src/trigger.c assert(ss); assert 617 ext/sqlite/libsqlite/src/trigger.c assert(ss->pSrc); assert 650 ext/sqlite/libsqlite/src/trigger.c assert(0); assert 693 ext/sqlite/libsqlite/src/trigger.c assert(op == TK_UPDATE || op == TK_INSERT || op == TK_DELETE); assert 694 ext/sqlite/libsqlite/src/trigger.c assert(tr_tm == TK_BEFORE || tr_tm == TK_AFTER ); assert 696 ext/sqlite/libsqlite/src/trigger.c assert(newIdx != -1 || oldIdx != -1); assert 66 ext/sqlite/libsqlite/src/update.c assert( pTabList->nSrc==1 ); assert 334 ext/sqlite/libsqlite/src/update.c assert( pParse->nTab>iCur+i+1 ); assert 103 ext/sqlite/libsqlite/src/util.c assert( pi[i]==0xdead1122 ); assert 106 ext/sqlite/libsqlite/src/util.c assert( N>=0 && N<n ); assert 109 ext/sqlite/libsqlite/src/util.c assert( pi[k+N_GUARD+1+i]==0xdead3344 ); assert 733 ext/sqlite/libsqlite/src/util.c assert( a[0]==b[0] ); assert 850 ext/sqlite/libsqlite/src/util.c assert( digit>=0 && digit<64 ); assert 144 ext/sqlite/libsqlite/src/vacuum.c assert( argc==3 ); assert 146 ext/sqlite/libsqlite/src/vacuum.c assert( argv[0]!=0 ); assert 147 ext/sqlite/libsqlite/src/vacuum.c assert( argv[1]!=0 ); assert 148 ext/sqlite/libsqlite/src/vacuum.c assert( argv[2]!=0 ); assert 168 ext/sqlite/libsqlite/src/vdbe.c assert( pOld==pElem ); /* Malloc failed on insert */ assert 226 ext/sqlite/libsqlite/src/vdbe.c assert( (fg & MEM_Dyn)==0 ); assert 250 ext/sqlite/libsqlite/src/vdbe.c assert( (pStack->flags & MEM_Ephem)!=0 ); assert 503 ext/sqlite/libsqlite/src/vdbe.c assert( db->magic==SQLITE_MAGIC_BUSY ); assert 504 ext/sqlite/libsqlite/src/vdbe.c assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY ); assert 506 ext/sqlite/libsqlite/src/vdbe.c assert( p->explain==0 ); assert 515 ext/sqlite/libsqlite/src/vdbe.c assert( pc>=0 && pc<p->nOp ); assert 516 ext/sqlite/libsqlite/src/vdbe.c assert( pTos<=&p->aStack[pc] ); assert 738 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p1>=0 ); assert 740 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=&p->aStack[-1] ); assert 761 ext/sqlite/libsqlite/src/vdbe.c assert( pFrom<=pTos && pFrom>=p->aStack ); assert 802 ext/sqlite/libsqlite/src/vdbe.c assert( (pFrom->flags & MEM_Ephem)==0 ); assert 804 ext/sqlite/libsqlite/src/vdbe.c assert( pFrom->flags & MEM_Str ); assert 805 ext/sqlite/libsqlite/src/vdbe.c assert( pFrom->z==pFrom[1].zShort ); assert 811 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & MEM_Str ); assert 812 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->z==pTos[-pOp->p1].zShort ); assert 827 ext/sqlite/libsqlite/src/vdbe.c assert( pTo>=p->aStack ); assert 832 ext/sqlite/libsqlite/src/vdbe.c assert( pTo->z==pTos->zShort ); assert 851 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nOp ); assert 870 ext/sqlite/libsqlite/src/vdbe.c assert( pCol>=p->aStack ); assert 882 ext/sqlite/libsqlite/src/vdbe.c assert( p->nResColumn==pOp->p1 ); assert 914 ext/sqlite/libsqlite/src/vdbe.c assert( &pTos[1-nField] >= p->aStack ); assert 939 ext/sqlite/libsqlite/src/vdbe.c assert( pTerm->flags & MEM_Str ); assert 1010 ext/sqlite/libsqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 1161 ext/sqlite/libsqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 1179 ext/sqlite/libsqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 1180 ext/sqlite/libsqlite/src/vdbe.c assert( (pNos->flags & MEM_Dyn)==0 ); assert 1196 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1214 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1248 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1411 ext/sqlite/libsqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 1567 ext/sqlite/libsqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 1588 ext/sqlite/libsqlite/src/vdbe.c case OP_StrEq: c = c==0; assert( pOp->opcode-6==OP_Eq ); break; assert 1589 ext/sqlite/libsqlite/src/vdbe.c case OP_StrNe: c = c!=0; assert( pOp->opcode-6==OP_Ne ); break; assert 1590 ext/sqlite/libsqlite/src/vdbe.c case OP_StrLt: c = c<0; assert( pOp->opcode-6==OP_Lt ); break; assert 1591 ext/sqlite/libsqlite/src/vdbe.c case OP_StrLe: c = c<=0; assert( pOp->opcode-6==OP_Le ); break; assert 1592 ext/sqlite/libsqlite/src/vdbe.c case OP_StrGt: c = c>0; assert( pOp->opcode-6==OP_Gt ); break; assert 1593 ext/sqlite/libsqlite/src/vdbe.c default: c = c>=0; assert( pOp->opcode-6==OP_Ge ); break; assert 1623 ext/sqlite/libsqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 1668 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1701 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1717 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1758 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 1766 ext/sqlite/libsqlite/src/vdbe.c assert( (pTos->flags & MEM_Dyn)==0 ); assert 1784 ext/sqlite/libsqlite/src/vdbe.c assert( pTerm>=p->aStack ); assert 1805 ext/sqlite/libsqlite/src/vdbe.c assert( &pTos[1-cnt] >= p->aStack ); assert 1865 ext/sqlite/libsqlite/src/vdbe.c assert( pRec>=p->aStack ); assert 1930 ext/sqlite/libsqlite/src/vdbe.c assert( zNewRecord==zTemp ); assert 1935 ext/sqlite/libsqlite/src/vdbe.c assert( zNewRecord!=zTemp ); assert 2028 ext/sqlite/libsqlite/src/vdbe.c assert( pRec>=p->aStack ); assert 2081 ext/sqlite/libsqlite/src/vdbe.c assert( pRec->flags & MEM_Str ); assert 2090 ext/sqlite/libsqlite/src/vdbe.c assert( pRec>=p->aStack ); assert 2102 ext/sqlite/libsqlite/src/vdbe.c assert( zNewKey==zTemp ); assert 2122 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2128 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & (MEM_Dyn|MEM_Short) ); assert 2172 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<db->nDb ); assert 2273 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p2<SQLITE_N_BTREE_META ); assert 2274 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2275 ext/sqlite/libsqlite/src/vdbe.c assert( db->aDb[pOp->p1].pBt!=0 ); assert 2295 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p2<SQLITE_N_BTREE_META ); assert 2296 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2297 ext/sqlite/libsqlite/src/vdbe.c assert( db->aDb[pOp->p1].pBt!=0 ); assert 2298 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2328 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2390 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2394 ext/sqlite/libsqlite/src/vdbe.c assert( iDb>=0 && iDb<db->nDb ); assert 2396 ext/sqlite/libsqlite/src/vdbe.c assert( pX!=0 ); assert 2399 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2409 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 ); assert 2463 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 ); assert 2501 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 ); assert 2550 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2551 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 2642 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2643 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 2691 ext/sqlite/libsqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 2695 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<=p->nCursor ); assert 2707 ext/sqlite/libsqlite/src/vdbe.c assert( nKey >= 4 ); assert 2712 ext/sqlite/libsqlite/src/vdbe.c assert( p->aCsr[i].deferredMoveto==0 ); assert 2769 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 2770 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 2773 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & MEM_Int ); assert 2800 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 2923 ext/sqlite/libsqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 2924 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 2933 ext/sqlite/libsqlite/src/vdbe.c assert( pNos->flags & MEM_Int ); assert 2948 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & MEM_Str ); assert 2955 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->opcode==OP_PutIntKey ); assert 2997 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3029 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3059 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3128 ext/sqlite/libsqlite/src/vdbe.c assert( i<p->nCursor ); assert 3131 ext/sqlite/libsqlite/src/vdbe.c assert( &pTos[i]>=p->aStack ); assert 3132 ext/sqlite/libsqlite/src/vdbe.c assert( pTos[i].flags & MEM_Str ); assert 3149 ext/sqlite/libsqlite/src/vdbe.c assert( payloadSize==0 || zRec!=0 ); assert 3237 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3249 ext/sqlite/libsqlite/src/vdbe.c assert( pC->pCursor!=0 ); assert 3273 ext/sqlite/libsqlite/src/vdbe.c assert( p->aCsr[i].keyAsData ); assert 3274 ext/sqlite/libsqlite/src/vdbe.c assert( !p->aCsr[i].pseudoTable ); assert 3275 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3311 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3330 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3359 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3398 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3405 ext/sqlite/libsqlite/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 3435 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3436 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3437 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & MEM_Str ); assert 3443 ext/sqlite/libsqlite/src/vdbe.c assert( nKey >= 4 ); assert 3468 ext/sqlite/libsqlite/src/vdbe.c assert( p->aCsr[i].deferredMoveto==0 ); assert 3483 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3484 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & MEM_Str ); assert 3485 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3492 ext/sqlite/libsqlite/src/vdbe.c assert( p->aCsr[i].deferredMoveto==0 ); assert 3512 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3517 ext/sqlite/libsqlite/src/vdbe.c assert( p->aCsr[i].deferredMoveto==0 ); assert 3564 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nCursor ); assert 3565 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3570 ext/sqlite/libsqlite/src/vdbe.c assert( p->aCsr[i].deferredMoveto==0 ); assert 3603 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3604 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & MEM_Str ); assert 3681 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p3!=0 && pOp->p3type==P3_POINTER ); assert 3682 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p2>=0 && pOp->p2<db->nDb ); assert 3683 ext/sqlite/libsqlite/src/vdbe.c assert( db->aDb[pOp->p2].pBt!=0 ); assert 3726 ext/sqlite/libsqlite/src/vdbe.c assert( iSet>=0 && iSet<p->nSet ); assert 3760 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 3809 ext/sqlite/libsqlite/src/vdbe.c assert( pKeylist->nRead>=0 ); assert 3810 ext/sqlite/libsqlite/src/vdbe.c assert( pKeylist->nRead<pKeylist->nUsed ); assert 3811 ext/sqlite/libsqlite/src/vdbe.c assert( pKeylist->nRead<pKeylist->nKey ); assert 3844 ext/sqlite/libsqlite/src/vdbe.c assert(p->keylistStackDepth > 0); assert 3859 ext/sqlite/libsqlite/src/vdbe.c assert(p->keylistStackDepth > 0); assert 3879 ext/sqlite/libsqlite/src/vdbe.c assert(p->contextStackDepth > 0); assert 3896 ext/sqlite/libsqlite/src/vdbe.c assert(p->contextStackDepth > 0); assert 3917 ext/sqlite/libsqlite/src/vdbe.c assert( pNos>=p->aStack ); assert 3923 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & MEM_Dyn ); assert 3926 ext/sqlite/libsqlite/src/vdbe.c assert( pNos->flags & MEM_Dyn ); assert 3949 ext/sqlite/libsqlite/src/vdbe.c assert( pRec>=p->aStack ); assert 4028 ext/sqlite/libsqlite/src/vdbe.c assert( j<nByte ); assert 4106 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4107 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags & MEM_Str ); assert 4111 ext/sqlite/libsqlite/src/vdbe.c assert( p->nResColumn==pOp->p1 ); assert 4132 ext/sqlite/libsqlite/src/vdbe.c assert( pOp->p3!=0 ); assert 4277 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nField ); assert 4307 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4360 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nMem ); assert 4382 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->nMem ); assert 4384 ext/sqlite/libsqlite/src/vdbe.c assert( pMem->flags==MEM_Int ); assert 4413 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->agg.nMem ); assert 4436 ext/sqlite/libsqlite/src/vdbe.c assert( n>=0 ); assert 4437 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags==MEM_Int ); assert 4439 ext/sqlite/libsqlite/src/vdbe.c assert( pRec>=p->aStack ); assert 4449 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->agg.nMem ); assert 4486 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4512 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4514 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->agg.nMem ); assert 4540 ext/sqlite/libsqlite/src/vdbe.c assert( i>=0 && i<p->agg.nMem ); assert 4627 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4645 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4663 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4752 ext/sqlite/libsqlite/src/vdbe.c assert( pTos>=p->aStack ); assert 4756 ext/sqlite/libsqlite/src/vdbe.c assert( goal<depth ); assert 4798 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags!=0 ); /* Must define some type */ assert 4801 ext/sqlite/libsqlite/src/vdbe.c assert( x!=0 ); /* Strings must define a string subtype */ assert 4802 ext/sqlite/libsqlite/src/vdbe.c assert( (x & (x-1))==0 ); /* Only one string subtype can be defined */ assert 4803 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->z!=0 ); /* Strings must have a value */ assert 4805 ext/sqlite/libsqlite/src/vdbe.c assert( (pTos->flags & MEM_Short)==0 || pTos->z==pTos->zShort ); assert 4806 ext/sqlite/libsqlite/src/vdbe.c assert( (pTos->flags & MEM_Short)!=0 || pTos->z!=pTos->zShort ); assert 4809 ext/sqlite/libsqlite/src/vdbe.c assert( (pTos->flags & (MEM_Static|MEM_Dyn|MEM_Ephem|MEM_Short))==0 ); assert 4812 ext/sqlite/libsqlite/src/vdbe.c assert( pTos->flags==MEM_Null || (pTos->flags&MEM_Null)==0 ); assert 4836 ext/sqlite/libsqlite/src/vdbe.c assert( (pTos[i].flags & (MEM_Static|MEM_Ephem))==0 ); assert 4839 ext/sqlite/libsqlite/src/vdbe.c assert( (pTos[i].flags & (MEM_Dyn|MEM_Ephem))==0 ); assert 4842 ext/sqlite/libsqlite/src/vdbe.c assert( (pTos[i].flags & (MEM_Static|MEM_Dyn))==0 ); assert 4912 ext/sqlite/libsqlite/src/vdbe.c assert( db->flags & SQLITE_Interrupt ); assert 80 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 152 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 178 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 181 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->aLabel[-1-x]<0 ); assert 193 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 203 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 246 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 257 ext/sqlite/libsqlite/src/vdbeaux.c assert( val>=0 ); assert 258 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 283 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 317 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 342 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 374 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 385 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 386 ext/sqlite/libsqlite/src/vdbeaux.c assert( addr>=0 && addr<p->nOp ); assert 412 ext/sqlite/libsqlite/src/vdbeaux.c assert( !p->isStep ); assert 441 ext/sqlite/libsqlite/src/vdbeaux.c assert( !p->isStep ); assert 449 ext/sqlite/libsqlite/src/vdbeaux.c assert( !p->isStep ); assert 457 ext/sqlite/libsqlite/src/vdbeaux.c assert( !p->isStep ); assert 467 ext/sqlite/libsqlite/src/vdbeaux.c assert( p && p->pFunc ); assert 481 ext/sqlite/libsqlite/src/vdbeaux.c assert( p && p->pFunc && p->pFunc->xStep ); assert 502 ext/sqlite/libsqlite/src/vdbeaux.c assert( p && p->pFunc && p->pFunc->xStep ); assert 545 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->popStack==0 ); assert 546 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->explain ); assert 596 ext/sqlite/libsqlite/src/vdbeaux.c assert( p!=0 ); assert 597 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 614 ext/sqlite/libsqlite/src/vdbeaux.c assert( nVar>=0 ); assert 683 ext/sqlite/libsqlite/src/vdbeaux.c assert( pAgg->apFunc!=0 ); assert 889 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->pTos<&p->aStack[p->pc] || sqlite_malloc_failed==1 ); assert 989 ext/sqlite/libsqlite/src/vdbeaux.c assert( p->db->pVdbe==p ); assert 225 ext/sqlite/libsqlite/src/where.c assert( pOrderBy!=0 ); assert 226 ext/sqlite/libsqlite/src/where.c assert( pOrderBy->nExpr>0 ); assert 403 ext/sqlite/libsqlite/src/where.c assert( pushKey==0 || pTabList->nSrc==1 ); assert 593 ext/sqlite/libsqlite/src/where.c assert( 0 ); assert 624 ext/sqlite/libsqlite/src/where.c assert( 0 ); assert 746 ext/sqlite/libsqlite/src/where.c assert( k<nExpr ); assert 747 ext/sqlite/libsqlite/src/where.c assert( aExpr[k].p!=0 ); assert 748 ext/sqlite/libsqlite/src/where.c assert( aExpr[k].idxLeft==iCur || aExpr[k].idxRight==iCur ); assert 760 ext/sqlite/libsqlite/src/where.c assert( pX->pSelect ); assert 804 ext/sqlite/libsqlite/src/where.c assert( pX->pSelect ); assert 877 ext/sqlite/libsqlite/src/where.c assert( k<nExpr ); assert 878 ext/sqlite/libsqlite/src/where.c assert( aExpr[k].p!=0 ); assert 879 ext/sqlite/libsqlite/src/where.c assert( aExpr[k].idxLeft==iCur || aExpr[k].idxRight==iCur ); assert 894 ext/sqlite/libsqlite/src/where.c assert( k<nExpr ); assert 895 ext/sqlite/libsqlite/src/where.c assert( aExpr[k].p!=0 ); assert 896 ext/sqlite/libsqlite/src/where.c assert( aExpr[k].idxLeft==iCur || aExpr[k].idxRight==iCur ); assert 1220 ext/sqlite/libsqlite/src/where.c assert( pTab!=0 ); assert 95 ext/standard/assert.c ZEND_INIT_MODULE_GLOBALS(assert, php_assert_init_globals, NULL); assert 3768 ext/standard/basic_functions.c PHP_FE(assert, arginfo_assert) assert 4062 ext/standard/basic_functions.c PHP_MINIT(assert)(INIT_FUNC_ARGS_PASSTHRU); assert 4117 ext/standard/basic_functions.c PHP_MSHUTDOWN(assert)(SHUTDOWN_FUNC_ARGS_PASSTHRU); assert 4207 ext/standard/basic_functions.c PHP_RSHUTDOWN(assert)(SHUTDOWN_FUNC_ARGS_PASSTHRU); assert 4233 ext/standard/basic_functions.c PHP_MINFO(assert)(ZEND_MODULE_INFO_FUNC_ARGS_PASSTHRU); assert 234 ext/standard/filters.c assert(thisfilter->abstract != NULL); assert 387 ext/standard/filters.c assert(inst != NULL); assert 767 ext/standard/filters.c assert(inst != NULL); assert 973 ext/standard/filters.c assert(inst != NULL); assert 1756 ext/standard/filters.c assert(thisfilter->abstract != NULL); assert 179 ext/standard/proc_open.c assert(p - env.envp <= sizeenv); assert 61 ext/zlib/zlib_fopen_wrapper.c assert(self != NULL); assert 781 main/SAPI.c assert(Z_STRVAL_P(uf_result) != NULL); assert 194 main/php_open_temporary_file.c assert(0 < n); /* should *never* fail! */ assert 46 main/php_variables.c assert(strval != NULL); assert 70 main/php_variables.c assert(var != NULL); assert 311 main/streams/cast.c assert(newstream != NULL); assert 53 main/streams/memory.c assert(ms != NULL); assert 76 main/streams/memory.c assert(buf!= NULL); assert 89 main/streams/memory.c assert(ms != NULL); assert 96 main/streams/memory.c assert(ms->data!= NULL); assert 97 main/streams/memory.c assert(buf!= NULL); assert 110 main/streams/memory.c assert(ms != NULL); assert 137 main/streams/memory.c assert(ms != NULL); assert 208 main/streams/memory.c assert(ms != NULL); assert 328 main/streams/memory.c assert(buf != NULL); assert 343 main/streams/memory.c assert(ms != NULL); assert 344 main/streams/memory.c assert(length != 0); assert 367 main/streams/memory.c assert(ts != NULL); assert 394 main/streams/memory.c assert(ts != NULL); assert 415 main/streams/memory.c assert(ts != NULL); assert 438 main/streams/memory.c assert(ts != NULL); assert 451 main/streams/memory.c assert(ts != NULL); assert 474 main/streams/memory.c assert(ts != NULL); assert 582 main/streams/memory.c assert(buf != NULL); assert 587 main/streams/memory.c assert(ts != NULL); assert 726 main/streams/memory.c assert(ts != NULL); assert 309 main/streams/plain_wrapper.c assert(data != NULL); assert 333 main/streams/plain_wrapper.c assert(data != NULL); assert 366 main/streams/plain_wrapper.c assert(data != NULL); assert 429 main/streams/plain_wrapper.c assert(data != NULL); assert 447 main/streams/plain_wrapper.c assert(data != NULL); assert 476 main/streams/plain_wrapper.c assert(data != NULL); assert 532 main/streams/plain_wrapper.c assert(data != NULL); assert 834 main/streams/streams.c assert(bufstart == NULL); assert 561 main/streams/userspace.c assert(us != NULL); assert 610 main/streams/userspace.c assert(us != NULL); assert 680 main/streams/userspace.c assert(us != NULL); assert 707 main/streams/userspace.c assert(us != NULL); assert 737 main/streams/userspace.c assert(us != NULL); assert 1321 main/streams/userspace.c assert(us != NULL); assert 132 regex/engine.c assert(m->coldp != NULL); assert 138 regex/engine.c assert(m->coldp < m->endp); assert 173 regex/engine.c assert(g->backrefs); /* must be back references doing it */ assert 174 regex/engine.c assert(g->nplus == 0 || m->lastpos != NULL); assert 185 regex/engine.c assert(m->pmatch[i].rm_so == -1); assert 186 regex/engine.c assert(m->pmatch[i].rm_eo == -1); assert 192 regex/engine.c assert(dp == NULL || dp == endp); assert 199 regex/engine.c assert(start <= stop); assert 208 regex/engine.c assert(m->pmatch != NULL); assert 273 regex/engine.c assert(PHP_REGEX_NOPE); assert 289 regex/engine.c assert(PHP_REGEX_NOPE); assert 297 regex/engine.c assert(rest != NULL); /* it did match */ assert 304 regex/engine.c assert(stp >= sp); /* it did work */ assert 311 regex/engine.c assert(dp == rest); assert 313 regex/engine.c assert(sp == rest); assert 321 regex/engine.c assert(rest != NULL); /* it did match */ assert 328 regex/engine.c assert(stp >= sp); /* it did work */ assert 346 regex/engine.c assert(sep == rest); /* must exhaust substring */ assert 347 regex/engine.c assert(slow(m, ssp, sep, ssub, esub) == rest); assert 349 regex/engine.c assert(dp == sep); assert 357 regex/engine.c assert(rest != NULL); /* it did match */ assert 364 regex/engine.c assert(stp >= sp); /* it did work */ assert 368 regex/engine.c assert(OP(m->g->strip[esub]) == OOR1); assert 373 regex/engine.c assert(OP(m->g->strip[esub]) == OOR1); assert 375 regex/engine.c assert(OP(m->g->strip[esub]) == OOR2); assert 381 regex/engine.c assert(OP(m->g->strip[esub]) == O_CH); assert 384 regex/engine.c assert(dp == rest); assert 392 regex/engine.c assert(PHP_REGEX_NOPE); assert 396 regex/engine.c assert(0 < i && i <= m->g->nsub); assert 401 regex/engine.c assert(0 < i && i <= m->g->nsub); assert 405 regex/engine.c assert(PHP_REGEX_NOPE); assert 410 regex/engine.c assert(sp == stop); assert 505 regex/engine.c assert(OP(s) == OOR2); assert 527 regex/engine.c assert(0 < i && i <= m->g->nsub); assert 530 regex/engine.c assert(m->pmatch[i].rm_so != -1); assert 532 regex/engine.c assert(stop - m->beginp >= len); assert 549 regex/engine.c assert(m->lastpos != NULL); assert 550 regex/engine.c assert(lev+1 <= m->g->nplus); assert 568 regex/engine.c assert(OP(m->g->strip[esub]) == OOR1); assert 577 regex/engine.c assert(OP(m->g->strip[esub]) == OOR2); assert 583 regex/engine.c assert(OP(m->g->strip[esub]) == O_CH); assert 588 regex/engine.c assert(0 < i && i <= m->g->nsub); assert 599 regex/engine.c assert(0 < i && i <= m->g->nsub); assert 609 regex/engine.c assert(PHP_REGEX_NOPE); assert 614 regex/engine.c assert(PHP_REGEX_NOPE); assert 695 regex/engine.c assert(c != OUT); assert 698 regex/engine.c assert(EQ(step(m->g, startst, stopst, st, NOTHING, st), st)); assert 702 regex/engine.c assert(coldp != NULL); assert 786 regex/engine.c assert(c != OUT); assert 789 regex/engine.c assert(EQ(step(m->g, startst, stopst, st, NOTHING, st), st)); assert 831 regex/engine.c assert(pc == stop-1); assert 835 regex/engine.c assert(!NONCHAR(ch) || ch != (unsigned char)OPND(s)); assert 894 regex/engine.c assert(OP(g->strip[pc+OPND(s)]) == OOR2); assert 902 regex/engine.c assert(OP(s) == OOR2); assert 909 regex/engine.c assert(OP(g->strip[pc+OPND(s)]) == OOR2); assert 917 regex/engine.c assert(PHP_REGEX_NOPE); assert 490 regex/main.c assert(len <= sizeof(epbuf)); assert 506 regex/main.c assert(strlen(efbuf) < sizeof(efbuf)); assert 230 regex/regcomp.c assert(!MORE() || SEE(stop)); assert 248 regex/regcomp.c assert(MORE()); /* caller should have ensured this */ assert 264 regex/regcomp.c assert(p->pend[subno] != 0); assert 455 regex/regcomp.c assert(MORE()); /* caller should have ensured this */ assert 485 regex/regcomp.c assert(p->pend[subno] != 0); assert 504 regex/regcomp.c assert(i < NPAREN); assert 506 regex/regcomp.c assert(i <= p->g->nsub); assert 508 regex/regcomp.c assert(p->pbegin[i] != 0); assert 509 regex/regcomp.c assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); assert 510 regex/regcomp.c assert(OP(p->strip[p->pend[i]]) == ORPAREN); assert 642 regex/regcomp.c assert(cs->multis == NULL); /* xxx */ assert 825 regex/regcomp.c assert(isalpha(ch)); assert 849 regex/regcomp.c assert(othercase(ch) != ch); /* p_bracket() would recurse */ assert 856 regex/regcomp.c assert(p->next == bracket+2); assert 902 regex/regcomp.c assert(p->next == bracket+3); assert 928 regex/regcomp.c assert(from <= to); assert 958 regex/regcomp.c assert(copy == finish+4); assert 1013 regex/regcomp.c assert(nc % CHAR_BIT == 0); assert 1039 regex/regcomp.c assert(p->g->sets != NULL); /* xxx */ assert 1124 regex/regcomp.c assert(never); assert 1187 regex/regcomp.c assert(fp != NULL); assert 1199 regex/regcomp.c assert(cs->multis != NULL); assert 1247 regex/regcomp.c assert(cs->multis == NULL); /* xxx */ assert 1262 regex/regcomp.c assert(cs->multis == NULL); /* xxx */ assert 1348 regex/regcomp.c assert(finish >= start); assert 1352 regex/regcomp.c assert(p->ssize >= p->slen + len); assert 1378 regex/regcomp.c assert(opnd < 1<<OPSHIFT); assert 1383 regex/regcomp.c assert(p->slen < p->ssize); assert 1410 regex/regcomp.c assert(HERE() == sn+1); assert 1414 regex/regcomp.c assert(pos > 0); assert 1443 regex/regcomp.c assert(value < 1<<OPSHIFT); assert 1572 regex/regcomp.c assert(cp < g->must + g->mlen); assert 1575 regex/regcomp.c assert(cp == g->must + g->mlen); assert 88 regex/regerror.c assert(strlen(convbuf) < sizeof(convbuf)); assert 129 regex/regexec.c assert(!(g->iflags&BAD)); assert 117 sapi/apache_hooks/sapi_apache.c assert(0); assert 162 sapi/cgi/getopt.c assert(0); assert 163 sapi/cli/getopt.c assert(0); assert 72 sapi/isapi/stresstest/getopt.c assert((argv[ap_optind][0] == '-') && argv[ap_optind][1]); assert 78 sapi/isapi/stresstest/getopt.c assert(dash); assert 128 sapi/isapi/stresstest/getopt.c assert(0); assert 70 sapi/milter/getopt.c assert((argv[ap_php_optind][0] == '-') && argv[ap_php_optind][1]); assert 76 sapi/milter/getopt.c assert(dash); assert 126 sapi/milter/getopt.c assert(0); assert 110 sapi/thttpd/thttpd.c assert(nvec <= IOV_MAX);