mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
[t:4758] Added printing to error log if trying to upgrade the log after a non-clean shutdown.
git-svn-id: file:///svn/toku/tokudb@42472 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
1cd679d790
commit
ec50aa0d0a
1 changed files with 4 additions and 0 deletions
|
@ -112,6 +112,10 @@ verify_clean_shutdown_of_log_version(const char *log_dir, uint32_t version, LSN
|
|||
if (version < TOKU_LOG_VERSION) {
|
||||
FOOTPRINT(1);
|
||||
r = verify_clean_shutdown_of_log_version_old(log_dir, last_lsn);
|
||||
if (r != 0) {
|
||||
fprintf(stderr, "Cannot upgrade TokuDB version %d database.", version);
|
||||
fprintf(stderr, " Previous improper shutdown detected.\n");
|
||||
}
|
||||
}
|
||||
else {
|
||||
FOOTPRINT(2);
|
||||
|
|
Loading…
Add table
Reference in a new issue