diff options
author | stephan <stephan@noemail.net> | 2023-12-22 15:41:13 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-12-22 15:41:13 +0000 |
commit | 09e6c82d56a642f2b213c55fbe33b09d23b179b1 (patch) | |
tree | b49171f9dfae1c74aa0eb77886dbf4ae36196c1f /src/util.c | |
parent | 0810150532cf54f5b6945e9a650468f13298373c (diff) | |
download | sqlite-09e6c82d56a642f2b213c55fbe33b09d23b179b1.tar.gz sqlite-09e6c82d56a642f2b213c55fbe33b09d23b179b1.zip |
Update #ifdef checks in pager.c and util.c to account for [0462a2612d1fc1d0] to resolve the build problem reported in [forum:9819032aac|forum post 9819032aac].
FossilOrigin-Name: 0f22d809a1c6c80e381f6bcd931fe4ec36dca0e28d07ab4f4f7f83c813424f60
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c index e9c7cccb0..207b901ba 100644 --- a/src/util.c +++ b/src/util.c @@ -141,7 +141,7 @@ void sqlite3ErrorClear(sqlite3 *db){ */ void sqlite3SystemError(sqlite3 *db, int rc){ if( rc==SQLITE_IOERR_NOMEM ) return; -#ifdef SQLITE_USE_SEH +#if defined(SQLITE_USE_SEH) && !defined(SQLITE_OMIT_WAL) if( rc==SQLITE_IOERR_IN_PAGE ){ int ii; int iErr; |