- Follow-up fix to MDEV-15229

parent c764bc0a
...@@ -130,5 +130,6 @@ NOT FOUND /barfoo/ in t2.ibd ...@@ -130,5 +130,6 @@ NOT FOUND /barfoo/ in t2.ibd
NOT FOUND /tmpres/ in t3.ibd NOT FOUND /tmpres/ in t3.ibd
# t4 yes on expecting NOT FOUND # t4 yes on expecting NOT FOUND
# MDEV-15527 FIXME: Enable this test! # MDEV-15527 FIXME: Enable this test!
NOT FOUND /mysql/ in t4.ibd
DROP PROCEDURE innodb_insert_proc; DROP PROCEDURE innodb_insert_proc;
DROP TABLE t1,t2,t3,t4; DROP TABLE t1,t2,t3,t4;
...@@ -111,8 +111,7 @@ SELECT COUNT(*) FROM t4; ...@@ -111,8 +111,7 @@ SELECT COUNT(*) FROM t4;
--let SEARCH_PATTERN=mysql --let SEARCH_PATTERN=mysql
--echo # t4 yes on expecting NOT FOUND --echo # t4 yes on expecting NOT FOUND
-- let SEARCH_FILE=$t4_IBD -- let SEARCH_FILE=$t4_IBD
--echo # MDEV-15527 FIXME: Enable this test! -- source include/search_pattern_in_file.inc
#-- source include/search_pattern_in_file.inc
DROP PROCEDURE innodb_insert_proc; DROP PROCEDURE innodb_insert_proc;
DROP TABLE t1,t2,t3,t4; DROP TABLE t1,t2,t3,t4;
......
...@@ -7402,6 +7402,8 @@ buf_page_encrypt_before_write( ...@@ -7402,6 +7402,8 @@ buf_page_encrypt_before_write(
bpage->real_size = out_len; bpage->real_size = out_len;
/* Workaround for MDEV-15527. */
memset(tmp + out_len, 0 , srv_page_size - out_len);
#ifdef UNIV_DEBUG #ifdef UNIV_DEBUG
fil_page_type_validate(tmp); fil_page_type_validate(tmp);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment