aboutsummaryrefslogtreecommitdiff
path: root/src/stable/sharedcore.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2025-01-20 11:44:34 -0800
committerMike Buland <mike@xagasoft.com>2025-01-20 11:44:34 -0800
commitb28a83c00503e0ac1c40c73dc093d8b0f164a6cc (patch)
tree3f3aff0b1075fe96be371f4a5fca2561ae780cd0 /src/stable/sharedcore.cpp
parent62d2e4e003a26550ebbe039c5d1e450841d8059f (diff)
downloadlibbu++-b28a83c00503e0ac1c40c73dc093d8b0f164a6cc.tar.gz
libbu++-b28a83c00503e0ac1c40c73dc093d8b0f164a6cc.tar.bz2
libbu++-b28a83c00503e0ac1c40c73dc093d8b0f164a6cc.tar.xz
libbu++-b28a83c00503e0ac1c40c73dc093d8b0f164a6cc.zip
Bu::MyriadCache was truncating existing dbs.HEADmain
When opening an existing database, while loading the index Bu::MyriadCache would open it with the WriteNew option, even though it didn't need to write. This now truncates the stream appropriately, so it never found any data and proceeded as though it was a new database.
Diffstat (limited to 'src/stable/sharedcore.cpp')
0 files changed, 0 insertions, 0 deletions