Lines Matching refs:mallocFailed
16484 u8 mallocFailed; /* True if we have seen a malloc failure */ member
28682 }else if( db->mallocFailed ){
28715 if( db->mallocFailed ){
28749 if( db->mallocFailed==0 ){
28845 if( db->mallocFailed==0 && db->bBenignMalloc==0 ){
28846 db->mallocFailed = 1;
28865 if( db->mallocFailed && db->nVdbeExec==0 ){
28866 db->mallocFailed = 0;
28877 if( db->mallocFailed || rc==SQLITE_IOERR_NOMEM ){
28904 if( db->mallocFailed || rc ){
31963 if( db->mallocFailed ){
31967 assert( (m.flags & MEM_Term)!=0 || db->mallocFailed );
31968 assert( (m.flags & MEM_Str)!=0 || db->mallocFailed );
31969 assert( m.z || db->mallocFailed );
62506 rc = db->mallocFailed ? SQLITE_NOMEM_BKPT : SQLITE_INTERRUPT;
71339 && (pIdxKey->errCode!=SQLITE_NOMEM || pCur->pBtree->db->mallocFailed)
78010 assert( pMem->flags & MEM_Str || pMem->db->mallocFailed );
78034 assert( pMem->flags & MEM_Str || pMem->db->mallocFailed );
78517 || pVal->db->mallocFailed );
79547 assert( pParse->db->mallocFailed );
79672 if( p->db->mallocFailed==0 ){
79916 return ( v->db->mallocFailed || hasAbort==mayAbort || hasFkCounter
80130 assert( aOp && !p->db->mallocFailed );
80237 assert( p->nOp>0 || p->db->mallocFailed );
80383 if( p->db->mallocFailed ) return 0;
80482 assert( p->aOp!=0 || db->mallocFailed );
80483 if( db->mallocFailed ){
80523 if( p->db->mallocFailed ){
80557 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed
80614 assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed );
80615 if( p->db->mallocFailed ){
81018 dummyDb.mallocFailed = 1;
81358 if( db->mallocFailed ){
81540 assert( db->mallocFailed==0 );
81612 if( !db->mallocFailed ){
81623 if( db->mallocFailed ){
81790 if( p->db->mallocFailed ){
82218 if( db->mallocFailed ){
82384 if( db->mallocFailed ){
82869 assert( pMem->db->mallocFailed || flags&(MEM_Str|MEM_Blob) );
83346 if( pKeyInfo->db->mallocFailed ) return 1;
83579 assert( pMem1->enc==pMem2->enc || pMem1->db->mallocFailed );
83855 || pPKey2->pKeyInfo->db->mallocFailed
84025 || pPKey2->pKeyInfo->db->mallocFailed
85100 if( db->mallocFailed ){
85226 if( !db->mallocFailed ){
85662 assert( db->mallocFailed==0 );
85674 if( db->mallocFailed ){
88249 if( db->mallocFailed ) goto no_mem;
89965 assert( db->mallocFailed || pRec->flags&(MEM_Str|MEM_Blob) );
93220 || db->mallocFailed
93249 assert( !db->mallocFailed );
94346 assert( zTab || db->mallocFailed );
94407 assert( db->mallocFailed );
94660 if( db->mallocFailed ) goto no_mem;
95091 if( db->mallocFailed ){
95423 assert( pBlob->pStmt || db->mallocFailed );
95459 assert( sqlite3VdbeCurrentAddr(v)==2 || db->mallocFailed );
95465 if( db->mallocFailed==0 ){
95476 if( db->mallocFailed==0 ){
95506 if( db->mallocFailed ){
95513 if( rc==SQLITE_OK && db->mallocFailed==0 ){
99671 if( db->mallocFailed ){
100672 if( pParse->db->mallocFailed ) break;
100774 if( pParse->db->mallocFailed ) break;
100802 return (pParse->nErr || pParse->db->mallocFailed) ? WRC_Abort : WRC_Continue;
100988 if( !db->mallocFailed ){
101056 if( pOrderBy==0 || pParse->db->mallocFailed || IN_RENAME_OBJECT ) return 0;
101216 return (pParse->nErr || db->mallocFailed) ? WRC_Abort : WRC_Prune;
101264 if( pParse->nErr || db->mallocFailed ) return WRC_Abort;
101379 if( db->mallocFailed ){
101390 if( resolveOrderGroupBy(&sNC, p, pGroupBy, "GROUP") || db->mallocFailed ){
101850 if( p->x.pList!=0 && !db->mallocFailed ){
102551 assert( db->mallocFailed );
102605 assert( pParse->db->mallocFailed );
102847 assert( !ExprUseYWin(p) || p->y.pWin!=0 || db->mallocFailed );
103370 if( p->pWin && db->mallocFailed==0 ) gatherSelectWindows(pNew);
103373 if( db->mallocFailed ){
103510 assert( pSubExpr!=0 || db->mallocFailed );
103520 if( !db->mallocFailed && pExpr->op==TK_SELECT && ALWAYS(pList!=0) ){
103588 assert( pList!=0 || pParse->db->mallocFailed!=0 );
103624 assert( pList!=0 || db->mallocFailed!=0 );
104445 || pParse->nErr || db->mallocFailed );
104729 rc = pParse->db->mallocFailed ? 1 :sqlite3Select(pParse, pCopy, &dest);
104951 if( ExprUseXSelect(pIn) && !pParse->db->mallocFailed ){
105023 if( pParse->db->mallocFailed ) goto sqlite3ExprCodeIN_oom_error;
105144 if( pParse->db->mallocFailed ) goto sqlite3ExprCodeIN_oom_error;
105778 assert( op==TK_NULL || op==TK_ERROR || pParse->db->mallocFailed );
106108 if( pParse->db->mallocFailed ){
106298 if( db->mallocFailed ){
106416 if( !pParse->db->mallocFailed ){
106482 assert( pParse->pVdbe!=0 || pParse->db->mallocFailed );
106504 if( !db->mallocFailed ) sqlite3ExprCode(pParse, pExpr, target);
106637 if( db->mallocFailed==0 ){
107006 if( db->mallocFailed==0 ){
108131 if( NEVER(db->mallocFailed) ) goto exit_rename_table;
108319 if( pParse->nErr || db->mallocFailed ) return;
108382 assert( db->mallocFailed == 1 );
108479 if( db->mallocFailed ) goto exit_begin_add_column;
108522 assert( db->mallocFailed );
108730 if( pParse->nErr==0 && pParse->db->mallocFailed==0 ){
108763 assert( pPtr || pParse->db->mallocFailed );
108832 if( sNC.pParse->db->mallocFailed ) return;
109136 if( db->mallocFailed ) rc = SQLITE_NOMEM;
109328 if( rc==SQLITE_OK && db->mallocFailed ){
109502 rc = (db->mallocFailed ? SQLITE_NOMEM : sParse.rc);
109631 assert( pWalker->pParse->db->mallocFailed );
109876 rc = (db->mallocFailed ? SQLITE_NOMEM : sParse.rc);
110089 if( NEVER(db->mallocFailed) ) goto exit_drop_column;
110101 assert( db->mallocFailed );
112539 assert( v || db->mallocFailed );
113179 if( db->mallocFailed || pParse->nErr ){
113240 if( db->mallocFailed==0
113314 if( v && pParse->nErr==0 && !db->mallocFailed ){
113355 if( !db->mallocFailed ) pParse->rc = SQLITE_TOOBIG;
113862 if( db && !db->mallocFailed && (pTable->tabFlags & TF_Ephemeral)==0 ){
114341 assert( db->mallocFailed );
114501 if( db->mallocFailed ) return;
115420 if( db->mallocFailed || pParse->nErr ){
116039 if( db->mallocFailed ) goto create_view_fail;
116164 if( db->mallocFailed==0
116192 if( db->mallocFailed ){
116484 if( db->mallocFailed ){
116786 assert( pKey!=0 || db->mallocFailed || pParse->nErr );
116950 if( db->mallocFailed || pParse->nErr>0 ){
116997 assert( db->mallocFailed==0 || pTab==0 );
117150 if( db->mallocFailed ){
117581 if( db->mallocFailed ){
117798 assert( db->mallocFailed );
117906 assert( pList || pParse->db->mallocFailed );
118564 assert( pNew!=0 || db->mallocFailed );
118566 if( db->mallocFailed ){
118635 assert( (pNew!=0 && zName!=0) || db->mallocFailed );
118637 if( db->mallocFailed ){
119490 if( pParse->nErr || db->mallocFailed ){
121425 || sqlite3_context_db_handle(context)->mallocFailed );
123488 if( !isIgnoreErrors || db->mallocFailed ) return;
123583 if( !isIgnoreErrors || db->mallocFailed ) return;
123914 if( db->mallocFailed==1 ){
124184 assert( pPrev->opcode==OP_MakeRecord || sqlite3VdbeDb(v)->mallocFailed );
124221 || sqlite3VdbeDb(v)->mallocFailed );
124443 if( pParse->db->mallocFailed ) return 0;
124738 if( pParse->nErr || db->mallocFailed ){
124916 if( rc || db->mallocFailed || pParse->nErr ) goto insert_cleanup;
125840 if( !db->mallocFailed ){
125848 assert( zName!=0 || pParse->db->mallocFailed );
126357 assert( nConflictCk>0 || db->mallocFailed );
131060 assert( x==0 || db->mallocFailed );
131086 assert( pFK->nCol==1 || db->mallocFailed );
131323 if( db->mallocFailed==0 ){
132255 if( db->mallocFailed ){
132333 if( db->mallocFailed ){
132614 if( db->mallocFailed ){
132972 if( db->mallocFailed ){
133038 if( rc==SQLITE_OK || db->mallocFailed ) break;
133392 assert( pParse->db->mallocFailed );
133422 if( pParse->db->mallocFailed ) {
133930 if( pParse->db->mallocFailed ) return;
134086 assert( sqlite3VdbeCurrentAddr(v)==iJump || pParse->db->mallocFailed );
134351 if( pExtra && pParse->db->mallocFailed==0 ){
135355 for(i=0, pCol=aCol; i<nCol && !db->mallocFailed; i++, pCol++){
135409 if( db->mallocFailed ){
135448 assert( pTab->nCol==pSelect->pEList->nExpr || db->mallocFailed );
135449 if( db->mallocFailed ) return;
135509 if( db->mallocFailed ){
136142 assert( p->pEList || db->mallocFailed );
136143 if( dest.eDest!=priorOp && db->mallocFailed==0 ){
136369 if( pParse->db->mallocFailed ) return 0;
136611 for(i=1; db->mallocFailed==0 && i<=p->pEList->nExpr; i++){
136664 assert( nOrderBy>=nExpr || db->mallocFailed );
136924 if( db->mallocFailed ){
137519 if( aCsrMap && ALWAYS(db->mallocFailed==0) ){
137532 if( db->mallocFailed ){
137660 if( db->mallocFailed==0 ){
137839 if( pConst->pParse->db->mallocFailed ) return WRC_Prune;
137940 x.pOomFault = &pParse->db->mallocFailed;
138196 assert( pOrderBy!=0 || db->mallocFailed );
138527 if( db->mallocFailed ) return 2;
138719 if( db->mallocFailed ){
138831 if( pParse->nErr || db->mallocFailed || sqliteProcessJoin(pParse, p) ){
138902 if( db->mallocFailed ) break;
139127 assert( p!=0 || pParse->db->mallocFailed );
139128 if( pParse->db->mallocFailed ) return;
139131 if( pParse->nErr || pParse->db->mallocFailed ) return;
139133 if( pParse->nErr || pParse->db->mallocFailed ) return;
139151 if( pParse->nErr || pParse->db->mallocFailed ) return;
139575 if( p==0 || db->mallocFailed || pParse->nErr ){
139612 if( pParse->nErr || db->mallocFailed ){
139658 assert( db->mallocFailed || pParse->nErr>0 );
139787 if( db->mallocFailed ) goto select_end;
139835 if( db->mallocFailed ) goto select_end;
140006 if( db->mallocFailed ) goto select_end;
140264 if( db->mallocFailed ){
140308 if( db->mallocFailed ) goto select_end;
140752 assert( db->mallocFailed==0 || db->mallocFailed==1 );
140753 pParse->nErr += db->mallocFailed;
140756 if( pAggInfo && !db->mallocFailed ){
141129 if( !pTableName || db->mallocFailed ){
141158 if( db->mallocFailed ) goto trigger_cleanup;
141178 assert( db->mallocFailed );
141468 assert(pSelect != 0 || db->mallocFailed);
141592 if( db->mallocFailed ) goto drop_trigger_cleanup;
141866 if( !db->mallocFailed ){
141875 if( !db->mallocFailed && ALWAYS(pList->a[i].zEName!=0) ){
141915 if( db->mallocFailed==0 && pParse->nErr==0 ){
141920 if( !db->mallocFailed ){
141933 && !db->mallocFailed
142152 if( db->mallocFailed==0
142172 if( db->mallocFailed==0 && pParse->nErr==0 ){
142241 assert( pPrg || pParse->nErr || pParse->db->mallocFailed );
142663 assert( pChanges!=0 || pParse->db->mallocFailed );
142759 if( pParse->nErr || db->mallocFailed ){
144326 || NEVER(db->mallocFailed)
145315 && !db->mallocFailed
146761 assert( pParse->db->mallocFailed );
146850 if( db->mallocFailed==0 ){
146988 if( !db->mallocFailed ){
147159 assert( zAff!=0 || pParse->db->mallocFailed );
147215 if( pParse->db->mallocFailed==0 && pParse->nErr==0 ){
147258 || pTerm->pWC->pWInfo->pParse->db->mallocFailed );
147863 if( db->mallocFailed ) pLoop->u.vtab.idxStr = 0;
147889 assert( pLevel->u.in.aInLoop!=0 || db->mallocFailed );
147890 if( !db->mallocFailed ){
147903 assert( pCompare!=0 || db->mallocFailed );
147918 assert( iIn==0 || db->mallocFailed );
148344 assert( pParse->db->mallocFailed );
148650 if( db->mallocFailed ){
148663 assert( pSubWInfo || pParse->nErr || db->mallocFailed );
149651 if( db->mallocFailed ) return;
149680 if( !db->mallocFailed ){
150046 if( db->mallocFailed ){
150116 if( db->mallocFailed ){
150283 if( noCase && !pParse->db->mallocFailed ){
150293 if( !db->mallocFailed ){
151279 if( pParse->db->mallocFailed ) return;
151464 assert( nKeyCol>0 || pParse->db->mallocFailed );
151571 testcase( pParse->db->mallocFailed );
151900 if( pParse->db->mallocFailed==0 ){
151907 || pParse->db->mallocFailed
151917 || pParse->db->mallocFailed );
151926 || pParse->db->mallocFailed );
151931 || pParse->db->mallocFailed );
153156 if( db->mallocFailed ) return SQLITE_NOMEM_BKPT;
154397 if( rc || db->mallocFailed ){
155539 if( db->mallocFailed ){
155618 if( db->mallocFailed ) goto whereBeginError;
155703 if( db->mallocFailed ) goto whereBeginError;
155706 if( db->mallocFailed ) goto whereBeginError;
155712 if( pParse->nErr || db->mallocFailed ){
155996 if( db->mallocFailed ) goto whereBeginError;
156012 if( db->mallocFailed ) goto whereBeginError;
156133 || pParse->db->mallocFailed );
156237 testcase( pParse->db->mallocFailed );
156283 && !db->mallocFailed
157148 if( pParse->db->mallocFailed ) return WRC_Abort;
157177 if( pParse->db->mallocFailed ) return WRC_Abort;
157261 if( db->mallocFailed ){
157458 if( db->mallocFailed ) rc = SQLITE_NOMEM;
157468 assert( pParse->db->mallocFailed );
165913 VVA_ONLY( u8 startedWithOom = db->mallocFailed );
166003 assert( db->mallocFailed==0 || pParse->rc!=SQLITE_OK || startedWithOom );
166019 if( db->mallocFailed ){
168491 assert( !db->mallocFailed );
168503 assert(p || db->mallocFailed);
168647 assert( !db->mallocFailed );
169174 if( db->mallocFailed ){
169179 assert( !db->mallocFailed );
169211 if( db->mallocFailed ){
169239 if( !db || db->mallocFailed ){
169248 if( !db || db->mallocFailed ){
169926 if( db->mallocFailed ){
169973 if( !db->mallocFailed ){
169988 if( db->mallocFailed ){
170158 assert( !db->mallocFailed );
170183 assert( !db->mallocFailed );
171552 assert( !db->mallocFailed );