diff options
author | unknown <osku@127.(none)> | 2005-09-28 11:14:25 +0300 |
---|---|---|
committer | unknown <osku@127.(none)> | 2005-09-28 11:14:25 +0300 |
commit | 1a49a7a1d08fe369b362d1fa0682c029a031c64a (patch) | |
tree | 64ea4e771a20984e32965f795fbbc2164986a72a /innobase | |
parent | a5dd3d5d8f8e67cb74403f8265b9c61daf9d5ccd (diff) | |
download | mariadb-git-1a49a7a1d08fe369b362d1fa0682c029a031c64a.tar.gz |
InnoDB: Print better error message when log files are missing/corrupt
(bug #13497).
innobase/buf/buf0buf.c:
Print better error message when log files are missing/corrupt.
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/buf/buf0buf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/buf/buf0buf.c b/innobase/buf/buf0buf.c index aa3aef7f97c..3a3b64dd51b 100644 --- a/innobase/buf/buf0buf.c +++ b/innobase/buf/buf0buf.c @@ -321,7 +321,9 @@ buf_page_is_corrupted( fprintf(stderr, " InnoDB: Error: page %lu log sequence number %lu %lu\n" "InnoDB: is in the future! Current system log sequence number %lu %lu.\n" -"InnoDB: Your database may be corrupt.\n", +"InnoDB: Your database may be corrupt or you may have copied the InnoDB\n" +"InnoDB: tablespace but not the InnoDB log files. See\n" +"http://dev.mysql.com/doc/mysql/en/backing-up.html for more information.\n", (ulong) mach_read_from_4(read_buf + FIL_PAGE_OFFSET), (ulong) ut_dulint_get_high( mach_read_from_8(read_buf + FIL_PAGE_LSN)), |