diff options
author | dan <dan@noemail.net> | 2011-12-30 10:54:24 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2011-12-30 10:54:24 +0000 |
commit | 0420b74a94e3a040f568854038915fc94bff1370 (patch) | |
tree | 9a1c40904e201bc6a8460f1946388f55bfb28fc6 /src/test_multiplex.c | |
parent | 0e208252c92206760d2208603acf7d594f7489ce (diff) | |
download | sqlite-0420b74a94e3a040f568854038915fc94bff1370.tar.gz sqlite-0420b74a94e3a040f568854038915fc94bff1370.zip |
Minor changes to fix compilation with SQLITE_OMIT_WAL and SQLITE_OMIT_WSD defined.
FossilOrigin-Name: 26a513a8d2dddfde82f5fd0a0e1cc186c9b0df94
Diffstat (limited to 'src/test_multiplex.c')
-rw-r--r-- | src/test_multiplex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test_multiplex.c b/src/test_multiplex.c index 45f731036..eceb8d74a 100644 --- a/src/test_multiplex.c +++ b/src/test_multiplex.c @@ -511,7 +511,11 @@ static int multiplexOpen( ** falls at the end of a chunk. A region of up to 64K following ** the pending byte is never written, so if the pending byte occurs ** near the end of a chunk, that chunk will be too small. */ +#ifndef SQLITE_OMIT_WSD extern int sqlite3PendingByte; +#else + int sqlite3PendingByte = 0x40000000; +#endif while( (sqlite3PendingByte % pGroup->szChunk)>=(pGroup->szChunk-65536) ){ pGroup->szChunk += 65536; } |