diff options
author | Jan Lindström <jplindst@mariadb.org> | 2014-07-25 09:34:05 +0300 |
---|---|---|
committer | Jan Lindström <jplindst@mariadb.org> | 2014-07-25 09:34:05 +0300 |
commit | c10496574627aa481d9c46432a2007de6e913b6c (patch) | |
tree | f5675b5e18026617cdfb3e33694f6c8df6b8a277 /storage/xtradb/page | |
parent | 7bf45bec5436cf1c61fa08f007eb4bb26aac1cf7 (diff) | |
download | mariadb-git-c10496574627aa481d9c46432a2007de6e913b6c.tar.gz |
Fix test failure caused by simulated compression failure on
IBUF_DUMMY table.
Diffstat (limited to 'storage/xtradb/page')
-rw-r--r-- | storage/xtradb/page/page0zip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/xtradb/page/page0zip.c b/storage/xtradb/page/page0zip.c index ca517139a45..3d3605d6362 100644 --- a/storage/xtradb/page/page0zip.c +++ b/storage/xtradb/page/page0zip.c @@ -1278,7 +1278,8 @@ page_zip_compress( if (srv_simulate_comp_failures && !dict_index_is_ibuf(index) && page_get_n_recs(page) >= 2 - && ((ulint)(rand() % 100) < srv_simulate_comp_failures)) { + && ((ulint)(rand() % 100) < srv_simulate_comp_failures) + && strcasecmp(index->table_name, "IBUF_DUMMY") != 0) { #ifdef UNIV_DEBUG fprintf(stderr, |