aboutsummaryrefslogtreecommitdiff
path: root/src/wal.h
diff options
context:
space:
mode:
authordan <Dan Kennedy>2021-09-10 21:28:56 +0000
committerdan <Dan Kennedy>2021-09-10 21:28:56 +0000
commit9023444fea771dd0b38bf92efa1751e02b0e89d0 (patch)
tree07ce8d29a960af10cf3535d8c176dd5ae787bc25 /src/wal.h
parentee7c667a364035db0ca9ced959b918e6ed40d7bf (diff)
downloadsqlite-9023444fea771dd0b38bf92efa1751e02b0e89d0.tar.gz
sqlite-9023444fea771dd0b38bf92efa1751e02b0e89d0.zip
If an EXCEPTION_IN_PAGE_ERROR exception is caught, make the underlying OS error code available via sqlite3_system_errno().
FossilOrigin-Name: fdb20e9ee48465b94aa6ac3c5e263ecaa7c3b10f4a193e79f965b7c35944b08b
Diffstat (limited to 'src/wal.h')
-rw-r--r--src/wal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wal.h b/src/wal.h
index 02e2bab36..d39bb50f3 100644
--- a/src/wal.h
+++ b/src/wal.h
@@ -151,5 +151,9 @@ int sqlite3WalWriteLock(Wal *pWal, int bLock);
void sqlite3WalDb(Wal *pWal, sqlite3 *db);
#endif
+#ifdef SQLITE_USE_SEH
+int sqlite3WalSystemErrno(Wal*);
+#endif
+
#endif /* ifndef SQLITE_OMIT_WAL */
#endif /* SQLITE_WAL_H */