diff options
author | drh <drh@noemail.net> | 2016-01-08 02:27:01 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-01-08 02:27:01 +0000 |
commit | 21d61853e741bae5cc2d89c1ead99431b9e6454e (patch) | |
tree | 312b4a100af147d8ac3ae9c52408906dd89bd578 /src/wal.c | |
parent | c9d6d1b67b4a3c140437f1a48045efab65357958 (diff) | |
download | sqlite-21d61853e741bae5cc2d89c1ead99431b9e6454e.tar.gz sqlite-21d61853e741bae5cc2d89c1ead99431b9e6454e.zip |
Add the experimental SQLITE_FCNTL_JOURNAL_POINTER file control for obtaining
the sqlite3_file pointer associated with a rollback journal or WAL file.
FossilOrigin-Name: a02ace9a746ff02fc1a5969bf13939b568624f93
Diffstat (limited to 'src/wal.c')
-rw-r--r-- | src/wal.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3310,4 +3310,10 @@ int sqlite3WalFramesize(Wal *pWal){ } #endif +/* Return the sqlite3_file object for the WAL file +*/ +sqlite3_file *sqlite3WalFile(Wal *pWal){ + return pWal->pWalFd; +} + #endif /* #ifndef SQLITE_OMIT_WAL */ |