Lines Matching refs:mallocFailed
16812 u8 mallocFailed; /* True if we have seen a malloc failure */ member
27857 }else if( db->mallocFailed ){
27890 if( db->mallocFailed ){
27924 if( db->mallocFailed==0 ){
28022 if( db->mallocFailed==0 && db->bBenignMalloc==0 ){
28023 db->mallocFailed = 1;
28042 if( db->mallocFailed && db->nVdbeExec==0 ){
28043 db->mallocFailed = 0;
28078 if( db->mallocFailed || rc==SQLITE_IOERR_NOMEM ){
31067 if( db->mallocFailed ){
31071 assert( (m.flags & MEM_Term)!=0 || db->mallocFailed );
31072 assert( (m.flags & MEM_Str)!=0 || db->mallocFailed );
31073 assert( m.z || db->mallocFailed );
61277 rc = db->mallocFailed ? SQLITE_NOMEM_BKPT : SQLITE_INTERRUPT;
64001 int mallocFailed; /* A memory allocation error has occurred */
69934 && (pIdxKey->errCode!=SQLITE_NOMEM || pCur->pBtree->db->mallocFailed)
73959 pCheck->mallocFailed = 1;
74024 if( rc==SQLITE_NOMEM || rc==SQLITE_IOERR_NOMEM ) pCheck->mallocFailed = 1;
74469 sCheck.mallocFailed = 0;
74483 sCheck.mallocFailed = 1;
74488 sCheck.mallocFailed = 1;
74563 if( sCheck.mallocFailed ){
76392 assert( pMem->flags & MEM_Str || pMem->db->mallocFailed );
76416 assert( pMem->flags & MEM_Str || pMem->db->mallocFailed );
76882 || pVal->db->mallocFailed );
77904 assert( pParse->db->mallocFailed );
78027 if( p->db->mallocFailed==0 ){
78271 return ( v->db->mallocFailed || hasAbort==mayAbort || hasFkCounter
78484 assert( aOp && !p->db->mallocFailed );
78591 assert( p->nOp>0 || p->db->mallocFailed );
78737 if( p->db->mallocFailed ) return 0;
78836 assert( p->aOp!=0 || db->mallocFailed );
78837 if( db->mallocFailed ){
78877 if( p->db->mallocFailed ){
78911 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed
78968 assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed );
78969 if( p->db->mallocFailed ){
79375 dummyDb.mallocFailed = 1;
79715 if( db->mallocFailed ){
79895 assert( db->mallocFailed==0 );
79967 if( !db->mallocFailed ){
79980 if( db->mallocFailed ){
80152 if( p->db->mallocFailed ){
80580 if( db->mallocFailed ){
80737 if( db->mallocFailed ){
81215 assert( pMem->db->mallocFailed || flags&(MEM_Str|MEM_Blob) );
81692 if( pKeyInfo->db->mallocFailed ) return 1;
81922 assert( pMem1->enc==pMem2->enc || pMem1->db->mallocFailed );
82198 || pPKey2->pKeyInfo->db->mallocFailed
82368 || pPKey2->pKeyInfo->db->mallocFailed
83427 if( db->mallocFailed ){
83554 if( !db->mallocFailed ){
83990 assert( db->mallocFailed==0 );
84002 if( db->mallocFailed ){
86632 if( db->mallocFailed ) goto no_mem;
88222 assert( db->mallocFailed || pRec->flags&(MEM_Str|MEM_Blob) );
91239 assert( !db->mallocFailed );
92334 assert( zTab || db->mallocFailed );
92395 assert( db->mallocFailed );
92647 if( db->mallocFailed ) goto no_mem;
93079 if( db->mallocFailed ) rc = SQLITE_NOMEM_BKPT;
93138 rc = db->mallocFailed ? SQLITE_NOMEM_BKPT : SQLITE_INTERRUPT;
93390 assert( pBlob->pStmt || db->mallocFailed );
93426 assert( sqlite3VdbeCurrentAddr(v)==2 || db->mallocFailed );
93432 if( db->mallocFailed==0 ){
93443 if( db->mallocFailed==0 ){
93473 if( db->mallocFailed ){
93480 if( rc==SQLITE_OK && db->mallocFailed==0 ){
97633 assert( db->mallocFailed );
98622 if( pParse->db->mallocFailed ) break;
98649 return (pParse->nErr || pParse->db->mallocFailed) ? WRC_Abort : WRC_Continue;
98838 if( !db->mallocFailed ){
98905 if( pOrderBy==0 || pParse->db->mallocFailed || IN_RENAME_OBJECT ) return 0;
99065 return (pParse->nErr || db->mallocFailed) ? WRC_Abort : WRC_Prune;
99119 if( pParse->nErr || db->mallocFailed ) return WRC_Abort;
99213 if( db->mallocFailed ){
99224 if( resolveOrderGroupBy(&sNC, p, pGroupBy, "GROUP") || db->mallocFailed ){
99678 && !db->mallocFailed
100351 assert( db->mallocFailed );
100405 assert( pParse->db->mallocFailed );
100588 assert( !ExprHasProperty(p, EP_WinFunc) || p->y.pWin!=0 || db->mallocFailed );
101084 if( p->pWin && db->mallocFailed==0 ) gatherSelectWindows(pNew);
101193 assert( pSubExpr!=0 || db->mallocFailed );
101205 if( !db->mallocFailed && pExpr->op==TK_SELECT && ALWAYS(pList!=0) ){
101273 assert( pList!=0 || pParse->db->mallocFailed!=0 );
101309 assert( pList!=0 || db->mallocFailed!=0 );
102684 if( pParse->db->mallocFailed ) goto sqlite3ExprCodeIN_oom_error;
103284 assert( pParse->db->mallocFailed );
103933 if( db->mallocFailed ){
104051 if( !pParse->db->mallocFailed ){
104117 assert( pParse->pVdbe!=0 || pParse->db->mallocFailed );
104137 if( !db->mallocFailed ) sqlite3ExprCode(pParse, pExpr, target);
104270 if( db->mallocFailed==0 ){
104639 if( db->mallocFailed==0 ){
105596 if( NEVER(db->mallocFailed) ) goto exit_rename_table;
105786 if( pParse->nErr || db->mallocFailed ) return;
105848 assert( db->mallocFailed == 1 );
105928 if( db->mallocFailed ) goto exit_begin_add_column;
105970 assert( db->mallocFailed );
106175 if( pParse->nErr==0 && pParse->db->mallocFailed==0 ){
106204 assert( pPtr || pParse->db->mallocFailed );
106537 if( db->mallocFailed ) rc = SQLITE_NOMEM;
106854 rc = (db->mallocFailed ? SQLITE_NOMEM : sParse.rc);
106972 assert( pWalker->pParse->db->mallocFailed );
109527 assert( v || db->mallocFailed );
110187 if( db->mallocFailed || pParse->nErr ){
110218 if( db->mallocFailed==0
110275 if( v && pParse->nErr==0 && !db->mallocFailed ){
110314 if( !db->mallocFailed ) pParse->rc = SQLITE_TOOBIG;
110694 if( db && !db->mallocFailed && (pTable->tabFlags & TF_Ephemeral)==0 ){
111148 assert( db->mallocFailed );
112101 if( db->mallocFailed || pParse->nErr ) return;
112305 assert( !db->mallocFailed );
112625 if( db->mallocFailed ) goto create_view_fail;
112753 if( db->mallocFailed==0
112782 if( db->mallocFailed ){
113072 if( db->mallocFailed ){
113367 assert( pKey!=0 || db->mallocFailed || pParse->nErr );
113531 if( db->mallocFailed || pParse->nErr>0 ){
113578 assert( db->mallocFailed==0 || pTab==0 );
113732 if( db->mallocFailed ){
114136 if( db->mallocFailed ){
114352 assert( db->mallocFailed );
114460 assert(pList || pParse->db->mallocFailed );
115103 assert( (pNew!=0 && zName!=0) || db->mallocFailed );
115105 if( db->mallocFailed ){
115957 if( pParse->nErr || db->mallocFailed ){
117892 || sqlite3_context_db_handle(context)->mallocFailed );
119621 if( !isIgnoreErrors || db->mallocFailed ) return;
119716 if( !isIgnoreErrors || db->mallocFailed ) return;
120044 if( db->mallocFailed==1 ){
120816 if( pParse->nErr || db->mallocFailed ){
120994 if( rc || db->mallocFailed || pParse->nErr ) goto insert_cleanup;
121829 if( !db->mallocFailed ){
127002 if( db->mallocFailed==0 ){
127933 if( db->mallocFailed ){
128001 if( db->mallocFailed ){
128261 if( db->mallocFailed ){
128563 if( db->mallocFailed ){
128981 assert( pParse->db->mallocFailed );
129011 if( pParse->db->mallocFailed ) {
129521 if( pParse->db->mallocFailed ) return;
129811 if( pExtra && pParse->db->mallocFailed==0 ){
129907 assert( sqlite3VdbeCurrentAddr(v)==iJump || pParse->db->mallocFailed );
130816 for(i=0, pCol=aCol; i<nCol && !db->mallocFailed; i++, pCol++){
130869 if( db->mallocFailed ){
130908 assert( pTab->nCol==pSelect->pEList->nExpr || db->mallocFailed );
130909 if( db->mallocFailed ) return;
130964 if( db->mallocFailed ){
131574 assert( p->pEList || db->mallocFailed );
131575 if( dest.eDest!=priorOp && db->mallocFailed==0 ){
131793 if( pParse->db->mallocFailed ) return 0;
132037 for(i=1; db->mallocFailed==0 && i<=p->pEList->nExpr; i++){
132088 assert( nOrderBy>=nExpr || db->mallocFailed );
132830 if( db->mallocFailed ) return 1;
132969 if( db->mallocFailed==0 ){
133368 assert( pOrderBy!=0 || db->mallocFailed );
133628 if( db->mallocFailed ) return SQLITE_NOMEM_BKPT;
133793 if( db->mallocFailed ){
133889 if( pParse->nErr || db->mallocFailed || sqliteProcessJoin(pParse, p) ){
133960 if( db->mallocFailed ) break;
134185 assert( p!=0 || pParse->db->mallocFailed );
134186 if( pParse->db->mallocFailed ) return;
134189 if( pParse->nErr || pParse->db->mallocFailed ) return;
134191 if( pParse->nErr || pParse->db->mallocFailed ) return;
134600 if( p==0 || db->mallocFailed || pParse->nErr ){
134628 if( pParse->nErr || db->mallocFailed ){
134646 assert( db->mallocFailed || pParse->nErr>0 );
134737 if( db->mallocFailed ) goto select_end;
134784 if( db->mallocFailed ) goto select_end;
134944 if( db->mallocFailed ) goto select_end;
135234 if( db->mallocFailed ) goto select_end;
135964 if( !pTableName || db->mallocFailed ){
135993 if( db->mallocFailed ) goto trigger_cleanup;
136024 assert( db->mallocFailed );
136296 assert(pSelect != 0 || db->mallocFailed);
136415 if( db->mallocFailed ) goto drop_trigger_cleanup;
136800 && db->mallocFailed==0
136819 if( db->mallocFailed==0 && pParse->nErr==0 ){
136889 assert( pPrg || pParse->nErr || pParse->db->mallocFailed );
137251 if( pParse->nErr || db->mallocFailed ){
138641 || NEVER(db->mallocFailed)
139612 && !db->mallocFailed
141065 assert( pParse->db->mallocFailed );
141154 if( db->mallocFailed==0 ){
141285 if( !db->mallocFailed ){
141431 assert( zAff!=0 || pParse->db->mallocFailed );
141529 || pTerm->pWC->pWInfo->pParse->db->mallocFailed );
142149 assert( pLevel->u.in.aInLoop!=0 || db->mallocFailed );
142150 if( !db->mallocFailed ){
142163 assert( pCompare!=0 || db->mallocFailed );
142178 assert( iIn==0 || db->mallocFailed );
142580 assert( pParse->db->mallocFailed );
142904 assert( pSubWInfo || pParse->nErr || db->mallocFailed );
143868 if( db->mallocFailed ) return;
143896 if( !db->mallocFailed ){
144257 if( db->mallocFailed ){
144324 if( db->mallocFailed ){
144436 if( noCase && !pParse->db->mallocFailed ){
144446 if( !db->mallocFailed ){
145411 if( pParse->db->mallocFailed ) return;
145696 testcase( pParse->db->mallocFailed );
146023 if( pParse->db->mallocFailed==0 ){
146030 || pParse->db->mallocFailed
146040 || pParse->db->mallocFailed );
146049 || pParse->db->mallocFailed );
146054 || pParse->db->mallocFailed );
147261 if( db->mallocFailed ) return SQLITE_NOMEM_BKPT;
148465 if( rc || db->mallocFailed ){
149572 if( db->mallocFailed ){
149651 if( db->mallocFailed ) goto whereBeginError;
149736 if( db->mallocFailed ) goto whereBeginError;
149739 if( db->mallocFailed ) goto whereBeginError;
149745 if( pParse->nErr || NEVER(db->mallocFailed) ){
150027 if( db->mallocFailed ) goto whereBeginError;
150042 if( db->mallocFailed ) goto whereBeginError;
150250 testcase( pParse->db->mallocFailed );
150297 && !db->mallocFailed
151180 if( pParse->db->mallocFailed ) return WRC_Abort;
151433 if( db->mallocFailed ) rc = SQLITE_NOMEM;
151439 assert( pParse->db->mallocFailed );
159477 VVA_ONLY( u8 startedWithOom = db->mallocFailed );
159567 assert( db->mallocFailed==0 || pParse->rc!=SQLITE_OK || startedWithOom );
159583 if( db->mallocFailed ){
162018 assert( !db->mallocFailed );
162026 assert(p || db->mallocFailed);
162170 assert( !db->mallocFailed );
162665 if( db->mallocFailed ){
162670 assert( !db->mallocFailed );
162702 if( db->mallocFailed ){
162730 if( !db || db->mallocFailed ){
162739 if( !db || db->mallocFailed ){
163407 if( db->mallocFailed ){
163454 if( !db->mallocFailed ){
163469 if( db->mallocFailed ){
163639 assert( !db->mallocFailed );
163664 assert( !db->mallocFailed );
164951 assert( !db->mallocFailed );