summaryrefslogtreecommitdiff
path: root/ext/sqlite/libsqlite/src/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sqlite/libsqlite/src/os.h')
-rw-r--r--ext/sqlite/libsqlite/src/os.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/sqlite/libsqlite/src/os.h b/ext/sqlite/libsqlite/src/os.h
index b415a48cf4..681f831b66 100644
--- a/ext/sqlite/libsqlite/src/os.h
+++ b/ext/sqlite/libsqlite/src/os.h
@@ -103,10 +103,11 @@
# include <unistd.h>
typedef struct OsFile OsFile;
struct OsFile {
- struct lockInfo *pLock; /* Information about locks on this inode */
- int fd; /* The file descriptor */
- int locked; /* True if this user holds the lock */
- int dirfd; /* File descriptor for the directory */
+ struct openCnt *pOpen; /* Info about all open fd's on this inode */
+ struct lockInfo *pLock; /* Info about locks on this inode */
+ int fd; /* The file descriptor */
+ int locked; /* True if this instance holds the lock */
+ int dirfd; /* File descriptor for the directory */
};
# define SQLITE_TEMPNAME_SIZE 200
# if defined(HAVE_USLEEP) && HAVE_USLEEP