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
099ba346
Commit
099ba346
authored
Apr 01, 2017
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for innodb crash recovery tests from Serg
parent
3599b498
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/suite/innodb/r/log_file_size.result
mysql-test/suite/innodb/r/log_file_size.result
+1
-1
mysql-test/suite/innodb/t/log_file_size.test
mysql-test/suite/innodb/t/log_file_size.test
+3
-1
mysql-test/suite/innodb_fts/t/crash_recovery.test
mysql-test/suite/innodb_fts/t/crash_recovery.test
+1
-0
No files found.
mysql-test/suite/innodb/r/log_file_size.result
View file @
099ba346
...
...
@@ -25,7 +25,7 @@ ERROR 42000: Unknown storage engine 'InnoDB'
FOUND 1 /syntax error in innodb_log_group_home_dir/ in mysqld.1.err
SELECT * FROM t1;
ERROR 42000: Unknown storage engine 'InnoDB'
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=/ in mysqld.1.err
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=
.*
/ in mysqld.1.err
SELECT * FROM t1;
ERROR 42000: Unknown storage engine 'InnoDB'
SELECT * FROM t1;
...
...
mysql-test/suite/innodb/t/log_file_size.test
View file @
099ba346
...
...
@@ -29,6 +29,7 @@ BEGIN;
INSERT
INTO
t1
VALUES
(
42
);
let
$restart_parameters
=
--
innodb
-
log
-
file
-
size
=
6
M
;
let
$shutdown_timeout
=
0
;
--
source
include
/
restart_mysqld
.
inc
SELECT
*
FROM
t1
;
...
...
@@ -39,6 +40,7 @@ DELETE FROM t1;
let
$restart_parameters
=
--
innodb
-
log
-
files
-
in
-
group
=
3
--
innodb
-
log
-
file
-
size
=
5
M
;
--
source
include
/
restart_mysqld
.
inc
let
$shutdown_timeout
=
;
SELECT
*
FROM
t1
;
...
...
@@ -72,7 +74,7 @@ let SEARCH_PATTERN= syntax error in innodb_log_group_home_dir;
--
source
include
/
restart_mysqld
.
inc
--
error
ER_UNKNOWN_STORAGE_ENGINE
SELECT
*
FROM
t1
;
let
SEARCH_PATTERN
=
InnoDB
:
Starting
crash
recovery
from
checkpoint
LSN
=
;
let
SEARCH_PATTERN
=
InnoDB
:
Starting
crash
recovery
from
checkpoint
LSN
=
.*
;
--
source
include
/
search_pattern_in_file
.
inc
--
let
$restart_parameters
=
--
debug
=
d
,
innodb_log_abort_3
...
...
mysql-test/suite/innodb_fts/t/crash_recovery.test
View file @
099ba346
...
...
@@ -47,6 +47,7 @@ ROLLBACK;
--
disconnect
flush_redo_log
--
connection
default
let
$shutdown_timeout
=
0
;
--
source
include
/
restart_mysqld
.
inc
# This insert will re-initialize the Doc ID counter, it should not crash
...
...
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