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 | 5a0bf1ae7281f8e13fd47c9607da0b9a40e006e3 (patch) | |
tree | 85280f7fab744640b4f888ae2f12f637e5fea48b /storage/innobase/buf | |
parent | 92f81439a91964e7b875c6975c97069c92fe29fc (diff) | |
download | mariadb-git-5a0bf1ae7281f8e13fd47c9607da0b9a40e006e3.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/innobase/buf')
-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" |