Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
67a6ad0a
Commit
67a6ad0a
authored
Feb 16, 2023
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
201cfc33
d3f35aa4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
mysql-test/suite/innodb/r/recovery_memory.result
mysql-test/suite/innodb/r/recovery_memory.result
+1
-1
mysql-test/suite/innodb/t/recovery_memory.test
mysql-test/suite/innodb/t/recovery_memory.test
+10
-1
No files found.
mysql-test/suite/innodb/r/recovery_memory.result
View file @
67a6ad0a
...
...
@@ -22,7 +22,7 @@ DROP PROCEDURE dorepeat;
SET DEBUG_DBUG="+d,ib_log_checkpoint_avoid_hard";
CREATE TABLE t1(f1 INT NOT NULL)ENGINE=InnoDB;
INSERT INTO t1 SELECT * FROM seq_1_to_65536;
# restart:
--innodb_buffer_pool_size=5242880 --debug_dbug=+d,ibuf_init_corrupt
# restart:
with restart_parameters
# restart
SHOW CREATE TABLE t1;
Table Create Table
...
...
mysql-test/suite/innodb/t/recovery_memory.test
View file @
67a6ad0a
--
source
include
/
have_innodb
.
inc
--
source
include
/
big_test
.
inc
--
source
include
/
have_sequence
.
inc
--
source
include
/
maybe_debug
.
inc
call
mtr
.
add_suppression
(
"InnoDB: The change buffer is corrupted"
);
call
mtr
.
add_suppression
(
"InnoDB: Plugin initialization aborted at srv0start.cc"
);
call
mtr
.
add_suppression
(
"Plugin 'InnoDB' init function returned error"
);
...
...
@@ -30,12 +31,20 @@ DROP PROCEDURE dorepeat;
--
echo
# MDEV-30552 InnoDB recovery crashes when error
--
echo
# handling scenario
--
echo
#
if
(
$have_debug
)
{
SET
DEBUG_DBUG
=
"+d,ib_log_checkpoint_avoid_hard"
;
let
$restart_parameters
=--
innodb_buffer_pool_size
=
5242880
--
debug_dbug
=
"+d,ibuf_init_corrupt"
;
}
if
(
!
$have_debug
)
{
--
echo
SET
DEBUG_DBUG
=
"+d,ib_log_checkpoint_avoid_hard"
;
let
$restart_parameters
=--
innodb_buffer_pool_size
=
5242880
;
}
CREATE
TABLE
t1
(
f1
INT
NOT
NULL
)
ENGINE
=
InnoDB
;
INSERT
INTO
t1
SELECT
*
FROM
seq_1_to_65536
;
let
$restart_noprint
=
1
;
let
$shutdown_timeout
=
0
;
let
$restart_parameters
=--
innodb_buffer_pool_size
=
5242880
--
debug_dbug
=
"+d,ibuf_init_corrupt"
;
--
source
include
/
restart_mysqld
.
inc
let
$restart_noprint
=
0
;
let
$restart_parameters
=
;
--
source
include
/
restart_mysqld
.
inc
SHOW
CREATE
TABLE
t1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment