summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 06:01:21 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 06:01:21 -0500
commit977e7db164cfe8572a5e0080746c34f5a7b1729e (patch)
tree90b8da365c8b9481293e8087ad934c71ec7ce565 /src/session.cc
parentde3893a08a9d85e672a09f21f20bc3148a4933b8 (diff)
downloadfork-ledger-977e7db164cfe8572a5e0080746c34f5a7b1729e.tar.gz
fork-ledger-977e7db164cfe8572a5e0080746c34f5a7b1729e.tar.bz2
fork-ledger-977e7db164cfe8572a5e0080746c34f5a7b1729e.zip
Improved archive header logic for cache files
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) &&