mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.1 into 10.2
This commit is contained in:
@ -76,5 +76,6 @@ perl;
|
|||||||
my $res=@matches ? "FOUND " . scalar(@matches) : "NOT FOUND";
|
my $res=@matches ? "FOUND " . scalar(@matches) : "NOT FOUND";
|
||||||
$ENV{SEARCH_FILE} =~ s{^.*?([^/\\]+)$}{$1};
|
$ENV{SEARCH_FILE} =~ s{^.*?([^/\\]+)$}{$1};
|
||||||
print "$res /$search_pattern/ in $ENV{SEARCH_FILE}\n";
|
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
|
EOF
|
||||||
|
@ -3461,6 +3461,7 @@ recv_reset_logs(
|
|||||||
log_sys->next_checkpoint_no = 0;
|
log_sys->next_checkpoint_no = 0;
|
||||||
log_sys->last_checkpoint_lsn = 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_init(log_sys->buf, log_sys->lsn);
|
||||||
log_block_set_first_rec_group(log_sys->buf, LOG_BLOCK_HDR_SIZE);
|
log_block_set_first_rec_group(log_sys->buf, LOG_BLOCK_HDR_SIZE);
|
||||||
|
|
||||||
|
@ -765,7 +765,7 @@ buf_print(void);
|
|||||||
UNIV_INTERN
|
UNIV_INTERN
|
||||||
void
|
void
|
||||||
buf_page_print(const byte* read_buf, ulint zip_size)
|
buf_page_print(const byte* read_buf, ulint zip_size)
|
||||||
UNIV_COLD MY_ATTRIBUTE((nonnull));
|
UNIV_COLD;
|
||||||
|
|
||||||
/********************************************************************//**
|
/********************************************************************//**
|
||||||
Decompress a block.
|
Decompress a block.
|
||||||
|
@ -3564,6 +3564,7 @@ recv_reset_logs(
|
|||||||
|
|
||||||
log_sys->tracked_lsn = log_sys->lsn;
|
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_init(log_sys->buf, log_sys->lsn);
|
||||||
log_block_set_first_rec_group(log_sys->buf, LOG_BLOCK_HDR_SIZE);
|
log_block_set_first_rec_group(log_sys->buf, LOG_BLOCK_HDR_SIZE);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user