diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-01 06:01:21 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-01 06:01:21 -0500 |
commit | 977e7db164cfe8572a5e0080746c34f5a7b1729e (patch) | |
tree | 90b8da365c8b9481293e8087ad934c71ec7ce565 /src/session.cc | |
parent | de3893a08a9d85e672a09f21f20bc3148a4933b8 (diff) | |
download | fork-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.cc | 4 |
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) && |