mirror of
https://github.com/sqlite/sqlite.git
synced 2025-10-25 20:58:26 +03:00
Some elements of the new malloc() failure handling. Not all cases work properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800)
FossilOrigin-Name: e1606658f1b4530e3001db4779b5669c8d13c853
This commit is contained in:
@@ -689,6 +689,7 @@ static int unixOpenReadOnly(const char *zFilename, OsFile **pId){
|
||||
}
|
||||
f.locktype = 0;
|
||||
TRACE3("OPEN-RO %-3d %s\n", f.h, zFilename);
|
||||
|
||||
return allocateUnixFile(&f, pId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user