1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +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

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.149 2004/06/30 11:54:07 danielk1977 Exp $
** @(#) $Id: pager.c,v 1.150 2004/07/19 22:08:10 drh Exp $
*/
#include "os.h" /* Must be first to enable large file support */
#include "sqliteInt.h"
@@ -1468,6 +1468,7 @@ int sqlite3pager_open(
sqliteFree(zFullPathname);
strcpy(&pPager->zJournal[nameLen], "-journal");
pPager->fd = fd;
pPager->fd.pPager = pPager;
pPager->journalOpen = 0;
pPager->useJournal = useJournal && !memDb;
pPager->stmtOpen = 0;