Lines Matching refs:mallocFailed

16314   u8 mallocFailed;              /* True if we have seen a malloc failure */  member
27025 assert( db->mallocFailed==0 );
27039 }else if( db->mallocFailed ){
27046 if( db->mallocFailed ){
27071 if( db->mallocFailed==0 ){
27169 if( db->mallocFailed==0 && db->bBenignMalloc==0 ){
27170 db->mallocFailed = 1;
27189 if( db->mallocFailed && db->nVdbeExec==0 ){
27190 db->mallocFailed = 0;
27225 if( db->mallocFailed || rc==SQLITE_IOERR_NOMEM ){
30105 if( db->mallocFailed ){
30109 assert( (m.flags & MEM_Term)!=0 || db->mallocFailed );
30110 assert( (m.flags & MEM_Str)!=0 || db->mallocFailed );
30111 assert( m.z || db->mallocFailed );
60192 rc = db->mallocFailed ? SQLITE_NOMEM_BKPT : SQLITE_INTERRUPT;
62864 int mallocFailed; /* A memory allocation error has occurred */
68734 && (pIdxKey->errCode!=SQLITE_NOMEM || pCur->pBtree->db->mallocFailed)
72718 pCheck->mallocFailed = 1;
72782 if( rc==SQLITE_NOMEM || rc==SQLITE_IOERR_NOMEM ) pCheck->mallocFailed = 1;
73225 sCheck.mallocFailed = 0;
73239 sCheck.mallocFailed = 1;
73244 sCheck.mallocFailed = 1;
73319 if( sCheck.mallocFailed ){
75140 assert( pMem->flags & MEM_Str || pMem->db->mallocFailed );
75164 assert( pMem->flags & MEM_Str || pMem->db->mallocFailed );
75622 || pVal->db->mallocFailed );
76746 if( p->db->mallocFailed==0 ){
76979 return ( v->db->mallocFailed || hasAbort==mayAbort || hasFkCounter
77191 assert( aOp && !p->db->mallocFailed );
77298 assert( p->nOp>0 || p->db->mallocFailed );
77411 if( p->db->mallocFailed ) return 0;
77475 assert( p->aOp!=0 || db->mallocFailed );
77476 if( db->mallocFailed ){
77516 if( p->db->mallocFailed ){
77550 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed );
77606 assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed );
77607 if( p->db->mallocFailed ){
78283 assert( p->db->mallocFailed );
78300 assert( p->db->mallocFailed );
78311 assert( p->db->mallocFailed );
78499 assert( db->mallocFailed==0 );
78552 if( !db->mallocFailed ){
78566 if( db->mallocFailed ){
78738 if( p->db->mallocFailed ){
79165 if( db->mallocFailed ){
79322 if( db->mallocFailed ){
79780 assert( pMem->db->mallocFailed || flags&(MEM_Str|MEM_Blob) );
80251 if( pKeyInfo->db->mallocFailed ) return 1;
80468 assert( pMem1->enc==pMem2->enc || pMem1->db->mallocFailed );
80736 || pPKey2->pKeyInfo->db->mallocFailed
80903 || pPKey2->pKeyInfo->db->mallocFailed
81883 if( db->mallocFailed ){
82010 if( !db->mallocFailed ){
82446 assert( db->mallocFailed==0 );
82458 if( db->mallocFailed ){
85011 if( db->mallocFailed ) goto no_mem;
89371 assert( !db->mallocFailed );
90436 assert( zTab || db->mallocFailed );
90497 assert( db->mallocFailed );
90749 if( db->mallocFailed ) goto no_mem;
91144 if( db->mallocFailed ) rc = SQLITE_NOMEM_BKPT;
91203 rc = db->mallocFailed ? SQLITE_NOMEM_BKPT : SQLITE_INTERRUPT;
91455 assert( pBlob->pStmt || db->mallocFailed );
91491 assert( sqlite3VdbeCurrentAddr(v)==2 || db->mallocFailed );
91497 if( db->mallocFailed==0 ){
91508 if( db->mallocFailed==0 ){
91538 if( db->mallocFailed ){
91545 if( rc==SQLITE_OK && db->mallocFailed==0 ){
96065 if( pParse->db->mallocFailed ) break;
96092 return (pParse->nErr || pParse->db->mallocFailed) ? WRC_Abort : WRC_Continue;
96280 if( !db->mallocFailed ){
96347 if( pOrderBy==0 || pParse->db->mallocFailed ) return 0;
96509 return (pParse->nErr || db->mallocFailed) ? WRC_Abort : WRC_Prune;
96563 if( pParse->nErr || db->mallocFailed ) return WRC_Abort;
96657 if( db->mallocFailed ){
96668 if( resolveOrderGroupBy(&sNC, p, pGroupBy, "GROUP") || db->mallocFailed ){
97712 assert( db->mallocFailed );
97770 assert( pParse->db->mallocFailed );
97945 assert( !ExprHasProperty(p, EP_WinFunc) || p->y.pWin!=0 || db->mallocFailed );
98546 if( !db->mallocFailed && pExpr->op==TK_SELECT && ALWAYS(pList!=0) ){
98598 assert( pList!=0 || pParse->db->mallocFailed!=0 );
98627 assert( pList!=0 || db->mallocFailed!=0 );
99916 if( pParse->db->mallocFailed ) goto sqlite3ExprCodeIN_oom_error;
100334 assert( pParse->db->mallocFailed );
101089 assert( pParse->pVdbe!=0 || pParse->db->mallocFailed );
101104 if( !db->mallocFailed ) sqlite3ExprCode(pParse, pExpr, target);
101613 if( db->mallocFailed==0 ){
102457 if( NEVER(db->mallocFailed) ) goto exit_rename_table;
102627 if( pParse->nErr || db->mallocFailed ) return;
102688 assert( db->mallocFailed == 1 );
102764 if( db->mallocFailed ) goto exit_begin_add_column;
102805 assert( db->mallocFailed );
103008 if( pParse->nErr==0 && pParse->db->mallocFailed==0 ){
103037 assert( pPtr || pParse->db->mallocFailed );
103312 if( db->mallocFailed ) rc = SQLITE_NOMEM;
103628 rc = (db->mallocFailed ? SQLITE_NOMEM : sParse.rc);
103740 assert( pWalker->pParse->db->mallocFailed );
106320 assert( v || db->mallocFailed );
106980 if( db->mallocFailed || pParse->nErr ){
107011 if( db->mallocFailed==0
107068 if( v && pParse->nErr==0 && !db->mallocFailed ){
107107 if( !db->mallocFailed ) pParse->rc = SQLITE_TOOBIG;
107811 assert( db->mallocFailed );
108666 if( db->mallocFailed || pParse->nErr ) return;
108815 assert( !db->mallocFailed );
109097 if( db->mallocFailed ) goto create_view_fail;
109222 if( db->mallocFailed==0
109252 if( db->mallocFailed ){
109511 if( db->mallocFailed ){
109807 assert( pKey!=0 || db->mallocFailed || pParse->nErr );
109933 if( db->mallocFailed || pParse->nErr>0 ){
109977 assert( db->mallocFailed==0 || pTab==0 );
110131 if( db->mallocFailed ){
110530 if( db->mallocFailed ){
110746 assert( db->mallocFailed );
110854 assert(pList || pParse->db->mallocFailed );
111496 assert( (pNew!=0 && zName!=0) || db->mallocFailed );
111498 if( db->mallocFailed ){
112306 if( pParse->nErr || db->mallocFailed ){
114208 || sqlite3_context_db_handle(context)->mallocFailed );
115936 if( !isIgnoreErrors || db->mallocFailed ) return;
116029 if( !isIgnoreErrors || db->mallocFailed ) return;
116349 if( db->mallocFailed==1 ){
117002 if( pParse->nErr || db->mallocFailed ){
117164 if( rc || db->mallocFailed || pParse->nErr ) goto insert_cleanup;
122776 if( db->mallocFailed==0 ){
123717 if( db->mallocFailed ){
123771 if( db->mallocFailed ){
124027 if( db->mallocFailed ){
124318 if( db->mallocFailed ){
124352 if( sParse.pVdbe && (rc!=SQLITE_OK || db->mallocFailed) ){
124763 assert( pParse->db->mallocFailed );
124793 if( pParse->db->mallocFailed ) {
125284 if( pParse->db->mallocFailed ) return;
125573 if( pExtra && pParse->db->mallocFailed==0 ){
125668 assert( sqlite3VdbeCurrentAddr(v)==iJump || pParse->db->mallocFailed );
126579 for(i=0, pCol=aCol; i<nCol && !db->mallocFailed; i++, pCol++){
126632 if( db->mallocFailed ){
126670 assert( pTab->nCol==pSelect->pEList->nExpr || db->mallocFailed );
126671 if( db->mallocFailed ) return;
126729 if( db->mallocFailed ){
127551 if( pParse->db->mallocFailed ) return 0;
127792 for(i=1; db->mallocFailed==0 && i<=p->pEList->nExpr; i++){
127843 assert( nOrderBy>=nExpr || db->mallocFailed );
128521 if( db->mallocFailed ) return 1;
128659 if( db->mallocFailed==0 ){
129041 assert( pOrderBy!=0 || db->mallocFailed );
129295 if( db->mallocFailed ) return SQLITE_NOMEM_BKPT;
129460 if( db->mallocFailed ){
129535 if( db->mallocFailed || sqliteProcessJoin(pParse, p) ){
129607 if( db->mallocFailed ) break;
129852 assert( p!=0 || pParse->db->mallocFailed );
129853 if( pParse->db->mallocFailed ) return;
129856 if( pParse->nErr || pParse->db->mallocFailed ) return;
129858 if( pParse->nErr || pParse->db->mallocFailed ) return;
130237 if( p==0 || db->mallocFailed || pParse->nErr ){
130265 if( pParse->nErr || db->mallocFailed ){
130372 if( db->mallocFailed ) goto select_end;
130419 if( db->mallocFailed ) goto select_end;
130572 if( db->mallocFailed ) goto select_end;
130839 if( db->mallocFailed ) goto select_end;
131565 if( !pTableName || db->mallocFailed ){
131594 if( db->mallocFailed ) goto trigger_cleanup;
131892 assert(pSelect != 0 || db->mallocFailed);
132008 if( db->mallocFailed ) goto drop_trigger_cleanup;
132389 && db->mallocFailed==0
132408 if( db->mallocFailed==0 && pParse->nErr==0 ){
132478 assert( pPrg || pParse->nErr || pParse->db->mallocFailed );
132838 if( pParse->nErr || db->mallocFailed ){
134149 || NEVER(db->mallocFailed)
135067 && !db->mallocFailed
136473 assert( pParse->db->mallocFailed );
136560 if( db->mallocFailed==0 ){
136691 if( !db->mallocFailed ){
136837 assert( zAff!=0 || pParse->db->mallocFailed );
136935 || pTerm->pWC->pWInfo->pParse->db->mallocFailed );
137459 assert( pLevel->u.in.aInLoop!=0 || db->mallocFailed );
137460 if( !db->mallocFailed ){
137473 assert( pCompare!=0 || db->mallocFailed );
137859 assert( pParse->db->mallocFailed );
138145 assert( pSubWInfo || pParse->nErr || db->mallocFailed );
139089 if( db->mallocFailed ) return;
139117 if( !db->mallocFailed ){
139478 if( db->mallocFailed ){
139545 if( db->mallocFailed ){
139657 if( noCase && !pParse->db->mallocFailed ){
139667 if( !db->mallocFailed ){
140615 if( pParse->db->mallocFailed ) return;
140901 testcase( pParse->db->mallocFailed );
141238 if( pParse->db->mallocFailed==0 ){
141245 || pParse->db->mallocFailed
141255 || pParse->db->mallocFailed );
141264 || pParse->db->mallocFailed );
141269 || pParse->db->mallocFailed );
142458 if( db->mallocFailed ) return SQLITE_NOMEM_BKPT;
143622 if( rc || db->mallocFailed ){
144684 if( db->mallocFailed ){
144763 if( db->mallocFailed ) goto whereBeginError;
144828 if( db->mallocFailed ) goto whereBeginError;
144831 if( db->mallocFailed ) goto whereBeginError;
144837 if( pParse->nErr || NEVER(db->mallocFailed) ){
145106 if( db->mallocFailed ) goto whereBeginError;
145121 if( db->mallocFailed ) goto whereBeginError;
145307 testcase( pParse->db->mallocFailed );
145354 && !db->mallocFailed
146400 if( db->mallocFailed ) rc = SQLITE_NOMEM;
153926 VVA_ONLY( u8 startedWithOom = db->mallocFailed );
154016 assert( db->mallocFailed==0 || pParse->rc!=SQLITE_OK || startedWithOom );
154032 if( db->mallocFailed ){
156382 assert( !db->mallocFailed );
156390 assert(p || db->mallocFailed);
156533 assert( !db->mallocFailed );
157028 if( db->mallocFailed ){
157033 assert( !db->mallocFailed );
157065 if( db->mallocFailed ){
157093 if( !db || db->mallocFailed ){
157102 if( !db || db->mallocFailed ){
157747 if( db->mallocFailed ){
157799 if( !db->mallocFailed ) ENC(db) = SCHEMA_ENC(db);
157812 if( db->mallocFailed ){
157828 if( !db->mallocFailed && rc==SQLITE_OK ){
157845 if( !db->mallocFailed ){
157852 if( !db->mallocFailed && rc==SQLITE_OK ){
157859 if( !db->mallocFailed && rc==SQLITE_OK ){
157865 if( !db->mallocFailed && rc==SQLITE_OK ){
157871 if( !db->mallocFailed && rc==SQLITE_OK){
157877 if( !db->mallocFailed && rc==SQLITE_OK){
157883 if( !db->mallocFailed && rc==SQLITE_OK){
157889 if( !db->mallocFailed && rc==SQLITE_OK){
157895 if( !db->mallocFailed && rc==SQLITE_OK){
158037 assert( !db->mallocFailed );
158062 assert( !db->mallocFailed );
159188 assert( !db->mallocFailed );