Skip to content

Commit

Permalink
Merge 10.1 into 10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Sep 7, 2017
2 parents 3c45aa5 + 112d721 commit d26fb96
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mysql-test/include/search_pattern_in_file.inc
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@ perl;
my $res=@matches ? "FOUND " . scalar(@matches) : "NOT FOUND";
$ENV{SEARCH_FILE} =~ s{^.*?([^/\\]+)$}{$1};
print "$res /$search_pattern/ in $ENV{SEARCH_FILE}\n";
exit $ENV{SEARCH_ABORT} && $res =~ /^$ENV{SEARCH_ABORT}/;
die "$ENV{SEARCH_ABORT}\n"
if $ENV{SEARCH_ABORT} && $res =~ /^$ENV{SEARCH_ABORT}/;
EOF
1 change: 1 addition & 0 deletions storage/innobase/log/log0recv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3461,6 +3461,7 @@ recv_reset_logs(
log_sys->next_checkpoint_no = 0;
log_sys->last_checkpoint_lsn = 0;

memset(log_sys->buf, 0, log_sys->buf_size);
log_block_init(log_sys->buf, log_sys->lsn);
log_block_set_first_rec_group(log_sys->buf, LOG_BLOCK_HDR_SIZE);

Expand Down
2 changes: 1 addition & 1 deletion storage/xtradb/include/buf0buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ buf_print(void);
UNIV_INTERN
void
buf_page_print(const byte* read_buf, ulint zip_size)
UNIV_COLD MY_ATTRIBUTE((nonnull));
UNIV_COLD;

/********************************************************************//**
Decompress a block.
Expand Down
1 change: 1 addition & 0 deletions storage/xtradb/log/log0recv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3564,6 +3564,7 @@ recv_reset_logs(

log_sys->tracked_lsn = log_sys->lsn;

memset(log_sys->buf, 0, log_sys->buf_size);
log_block_init(log_sys->buf, log_sys->lsn);
log_block_set_first_rec_group(log_sys->buf, LOG_BLOCK_HDR_SIZE);

Expand Down

0 comments on commit d26fb96

Please sign in to comment.