diff options
author | Satya Bodapati <satya.bodapati@oracle.com> | 2013-02-20 18:25:18 +0530 |
---|---|---|
committer | Satya Bodapati <satya.bodapati@oracle.com> | 2013-02-20 18:25:18 +0530 |
commit | 6ca27ddec034eeb7f169b3959207a8c4dd1691ee (patch) | |
tree | 85280f7fab744640b4f888ae2f12f637e5fea48b /storage | |
parent | 1048aed515524a7c6981abcfbc8984011c3c2b16 (diff) | |
download | mariadb-git-6ca27ddec034eeb7f169b3959207a8c4dd1691ee.tar.gz |
Testcase fix for BUG#14147491
The random failure will be fixed by Bug#16263506 and this patch
Approved by Marko. rb#1988
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/buf/buf0buf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c index 75bd546d2cf..31be914afa0 100644 --- a/storage/innobase/buf/buf0buf.c +++ b/storage/innobase/buf/buf0buf.c @@ -2322,6 +2322,10 @@ loop2: retries = 0; } else if (retries < BUF_PAGE_READ_MAX_RETRIES) { ++retries; + DBUG_EXECUTE_IF( + "innodb_page_corruption_retries", + retries = BUF_PAGE_READ_MAX_RETRIES; + ); } else { fprintf(stderr, "InnoDB: Error: Unable" " to read tablespace %lu page no" |