diff options
author | drh <drh@noemail.net> | 2014-03-14 11:46:10 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-03-14 11:46:10 +0000 |
commit | 18c7e40ca3de1a1d10548f07d7cdb73db8abbbf1 (patch) | |
tree | 8427af2c50d00717398be63020dd9a62d8b71e5e /src/btree.c | |
parent | d88e521f591a447cc13b377fcbd078ed435ebdb8 (diff) | |
download | sqlite-18c7e40ca3de1a1d10548f07d7cdb73db8abbbf1.tar.gz sqlite-18c7e40ca3de1a1d10548f07d7cdb73db8abbbf1.zip |
Fix a harmless compiler warning that crops up with SQLITE_MAX_MMAP_SIZE=0.
FossilOrigin-Name: 1277932b7e8bb36c7070ffafbf110a8e128c267b
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/btree.c b/src/btree.c index 29ead1c67..9ca600e8c 100644 --- a/src/btree.c +++ b/src/btree.c @@ -2161,6 +2161,7 @@ int sqlite3BtreeSetCacheSize(Btree *p, int mxPage){ return SQLITE_OK; } +#if SQLITE_MAX_MMAP_SIZE>0 /* ** Change the limit on the amount of the database file that may be ** memory mapped. @@ -2173,6 +2174,7 @@ int sqlite3BtreeSetMmapLimit(Btree *p, sqlite3_int64 szMmap){ sqlite3BtreeLeave(p); return SQLITE_OK; } +#endif /* SQLITE_MAX_MMAP_SIZE>0 */ /* ** Change the way data is synced to disk in order to increase or decrease |