aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-07-17 21:44:57 +0000
committerdrh <drh@noemail.net>2004-07-17 21:44:57 +0000
commitdd809b087f91fd906ba701da8487254eb16a8db0 (patch)
tree3ea26d84745a4621dff6b83e0ce6a687c636ca4c /src/os_unix.h
parent4ebfef14e3e1e4ce666a53a36956a91bcc598af7 (diff)
downloadsqlite-dd809b087f91fd906ba701da8487254eb16a8db0.tar.gz
sqlite-dd809b087f91fd906ba701da8487254eb16a8db0.zip
Use the F_FULLFSYNC fctrl if it is available. Record the name of files
that are opened in the OsFile structure. (CVS 1799) FossilOrigin-Name: 1d30d0dd46c2bd12ce3f7dc06492f3e27ab6bcee
Diffstat (limited to 'src/os_unix.h')
-rw-r--r--src/os_unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index ae16a9ac6..9e11e4c92 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -65,6 +65,7 @@ struct OsFile {
struct openCnt *pOpen; /* Info about all open fd's on this inode */
struct lockInfo *pLock; /* Info about locks on this inode */
int h; /* The file descriptor */
+ const char *zFilename; /* Name passed to open() */
unsigned char locktype; /* The type of lock held on this fd */
unsigned char isOpen; /* True if needs to be closed */
int dirfd; /* File descriptor for the directory */