1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-27 08:52:26 +03:00

The OsFile under Unix records a pointer back to the pager. This is intended

to be used for an externalized locking patch. (CVS 1821)

FossilOrigin-Name: 511ee6392472d250b542961d1f715cc7453598e6
This commit is contained in:
drh
2004-07-19 22:08:09 +00:00
parent 8d7e24f1d3
commit d5b447d9ac
5 changed files with 12 additions and 12 deletions

View File

@@ -1073,7 +1073,6 @@ int sqlite3OsUnlock(OsFile *id, int locktype){
*/
int sqlite3OsClose(OsFile *id){
if( !id->isOpen ) return SQLITE_OK;
id->zFilename = 0;
sqlite3OsUnlock(id, NO_LOCK);
if( id->dirfd>=0 ) close(id->dirfd);
id->dirfd = -1;