mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Improvements to the way that OOM errors are processed.
FossilOrigin-Name: c3ef03478a5788c855b3aef385d43ae7f494f440
This commit is contained in:
@@ -90,7 +90,7 @@ int sqlite3_exec(
|
||||
for(i=0; i<nCol; i++){
|
||||
azVals[i] = (char *)sqlite3_column_text(pStmt, i);
|
||||
if( !azVals[i] && sqlite3_column_type(pStmt, i)!=SQLITE_NULL ){
|
||||
db->mallocFailed = 1;
|
||||
sqlite3OomFault(db);
|
||||
goto exec_out;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user