summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@oracle.com>2015-09-11 10:32:10 +0300
committerMarko Mäkelä <marko.makela@oracle.com>2015-09-11 12:06:51 +0300
commitadf12e6e1704dbf4f5e06fa45f40ab5b71514cff (patch)
tree7cd3133345daf7922bc8016b62052801dd300a6a /storage
parentddcad361d6ff2c3336221f27c4e31bfc8d1913b1 (diff)
downloadmariadb-git-adf12e6e1704dbf4f5e06fa45f40ab5b71514cff.tar.gz
Adapt to WL#8845 Implement an InnoDB redo log format version identifier
recv_find_max_checkpoint(): Amend the error message to give advice about downgrading. The 5.7.9 redo log format was intentionally changed so that older MySQL versions will not find a valid redo log checkpoint.
Diffstat (limited to 'storage')
-rw-r--r--storage/innobase/log/log0recv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/storage/innobase/log/log0recv.c b/storage/innobase/log/log0recv.c
index 5dfb0c9defd..ae3912da552 100644
--- a/storage/innobase/log/log0recv.c
+++ b/storage/innobase/log/log0recv.c
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1997, 2010, Innobase Oy. All Rights Reserved.
+Copyright (c) 1997, 2015, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -736,6 +736,10 @@ not_consistent:
fprintf(stderr,
"InnoDB: No valid checkpoint found.\n"
+ "InnoDB: If you are attempting downgrade"
+ " from MySQL 5.7.9 or later,\n"
+ "InnoDB: please refer to " REFMAN
+ "upgrading-downgrading.html\n"
"InnoDB: If this error appears when you are"
" creating an InnoDB database,\n"
"InnoDB: the problem may be that during"