Skip to content

Commit 4fd1c7e

Browse files
committed
5.5.59-38.11
1 parent 85a5e58 commit 4fd1c7e

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

storage/xtradb/include/univ.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ component, i.e. we show M.N.P as M.N */
6464
(INNODB_VERSION_MAJOR << 8 | INNODB_VERSION_MINOR)
6565

6666
#ifndef PERCONA_INNODB_VERSION
67-
#define PERCONA_INNODB_VERSION 38.10
67+
#define PERCONA_INNODB_VERSION 38.11
6868
#endif
6969

7070
#define INNODB_VERSION_STRMYSQL_SERVER_VERSION

storage/xtradb/trx/trx0purge.c

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*****************************************************************************
22
3-
Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
3+
Copyright (c) 1996, 2017, Oracle and/or its affiliates. All Rights Reserved.
44
55
This program is free software; you can redistribute it and/or modify it under
66
the terms of the GNU General Public License as published by the Free Software
@@ -729,6 +729,7 @@ trx_purge_rseg_get_next_history_log(
729729
mutex_exit(&(rseg->mutex));
730730
mtr_commit(&mtr);
731731

732+
#ifdef UNIV_DEBUG
732733
mutex_enter(&kernel_mutex);
733734

734735
/* Add debug code to track history list corruption reported
@@ -742,18 +743,20 @@ trx_purge_rseg_get_next_history_log(
742743
if (trx_sys->rseg_history_len > 2000000) {
743744
ut_print_timestamp(stderr);
744745
fprintf(stderr,
745-
" InnoDB: Warning: purge reached the"
746+
" InnoDB: Warning: purge reached the"
746747
" head of the history list,\n"
747748
"InnoDB: but its length is still"
748-
" reported as %lu! Make a detailed bug\n"
749-
"InnoDB: report, and submit it"
750-
" to http://bugs.mysql.com\n",
749+
" reported as %lu!."
750+
" This can happen becasue a long"
751+
" running transaction is withholding"
752+
" purging of undo logs or a read"
753+
" view is open. Please try to commit"
754+
" the long running transaction.",
751755
(ulong) trx_sys->rseg_history_len);
752-
ut_ad(0);
753756
}
754757

755758
mutex_exit(&kernel_mutex);
756-
759+
#endif
757760
return;
758761
}
759762

0 commit comments

Comments
 (0)