[cache_restore] The metadata version and clean shutdown flags were

swapped.

Reveal by failing --omit-clean-shutdown test
This commit is contained in:
Joe Thornber
2017-08-29 12:33:32 +01:00
parent 61d747b246
commit 4da8d19f29
3 changed files with 12 additions and 5 deletions

View File

@@ -7,9 +7,15 @@
//----------------------------------------------------------------
namespace caching {
enum shutdown_type {
CLEAN_SHUTDOWN,
NO_CLEAN_SHUTDOWN
};
emitter::ptr create_restore_emitter(metadata::ptr md,
unsigned metadata_version,
bool clean_shutdown = true);
shutdown_type st = CLEAN_SHUTDOWN);
}
//----------------------------------------------------------------