summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 06:10:49 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 06:10:49 -0500
commit0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88 (patch)
tree8ec5023a9a5b949f7732e72490283f5d97620f2e /src/session.cc
parentcebc9f6e8649bcd5ff5f79aa479cf0d90562c18b (diff)
parent502fc9bda2b7ba5f7a3fbc5c944a6a93c3b97243 (diff)
downloadfork-ledger-0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88.tar.gz
fork-ledger-0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88.tar.bz2
fork-ledger-0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88.zip
Merge branch 'next'
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/session.cc b/src/session.cc
index f3209fe7..3f29716d 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -130,15 +130,17 @@ std::size_t session_t::read_data(const string& master_account)
price_db_path = resolve_path(HANDLER(price_db_).str());
optional<archive_t> cache;
+#if 1
+ // jww (2009-11-01): The binary caching feature is disabled for now.
if (HANDLED(cache_) && master_account.empty()) {
cache = archive_t(HANDLED(cache_).str());
- cache->read_header();
if (price_db_path) {
HANDLER(file_).data_files.push_back(*price_db_path);
populated_price_db = true;
}
}
+#endif
if (! (cache &&
cache->should_load(HANDLER(file_).data_files) &&