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
804b5974
Commit
804b5974
authored
Nov 14, 2023
by
Thirunarayanan Balathandayuthapani
Committed by
Marko Mäkelä
Nov 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-32050 Fixup
- Fixing mariabackup.full_backup test case
parent
583a7452
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
mysql-test/suite/mariabackup/full_backup.result
mysql-test/suite/mariabackup/full_backup.result
+8
-0
mysql-test/suite/mariabackup/full_backup.test
mysql-test/suite/mariabackup/full_backup.test
+9
-0
No files found.
mysql-test/suite/mariabackup/full_backup.result
View file @
804b5974
...
@@ -18,6 +18,12 @@ DROP TABLE t;
...
@@ -18,6 +18,12 @@ DROP TABLE t;
#
#
call mtr.add_suppression("InnoDB: innodb_undo_tablespaces=0 disables dedicated undo log tablespaces");
call mtr.add_suppression("InnoDB: innodb_undo_tablespaces=0 disables dedicated undo log tablespaces");
call mtr.add_suppression("InnoDB: Cannot change innodb_undo_tablespaces=0 because previous shutdown was not with innodb_fast_shutdown=0");
call mtr.add_suppression("InnoDB: Cannot change innodb_undo_tablespaces=0 because previous shutdown was not with innodb_fast_shutdown=0");
call mtr.add_suppression("Found 1 prepared XA transactions");
CREATE TABLE t(f1 INT NOT NULL)ENGINE=InnoDB;
XA START 'zombie';
INSERT INTO t VALUES(1);
XA END 'zombie';
XA PREPARE 'zombie';
# restart: --innodb_undo_tablespaces=0
# restart: --innodb_undo_tablespaces=0
# xtrabackup backup
# xtrabackup backup
# xtrabackup prepare
# xtrabackup prepare
...
@@ -28,3 +34,5 @@ call mtr.add_suppression("InnoDB: Cannot change innodb_undo_tablespaces=0 becaus
...
@@ -28,3 +34,5 @@ call mtr.add_suppression("InnoDB: Cannot change innodb_undo_tablespaces=0 becaus
# Display undo log files from target directory
# Display undo log files from target directory
undo001
undo001
undo002
undo002
XA COMMIT 'zombie';
DROP TABLE t;
mysql-test/suite/mariabackup/full_backup.test
View file @
804b5974
...
@@ -35,6 +35,13 @@ rmdir $targetdir;
...
@@ -35,6 +35,13 @@ rmdir $targetdir;
--
echo
#
--
echo
#
call
mtr
.
add_suppression
(
"InnoDB: innodb_undo_tablespaces=0 disables dedicated undo log tablespaces"
);
call
mtr
.
add_suppression
(
"InnoDB: innodb_undo_tablespaces=0 disables dedicated undo log tablespaces"
);
call
mtr
.
add_suppression
(
"InnoDB: Cannot change innodb_undo_tablespaces=0 because previous shutdown was not with innodb_fast_shutdown=0"
);
call
mtr
.
add_suppression
(
"InnoDB: Cannot change innodb_undo_tablespaces=0 because previous shutdown was not with innodb_fast_shutdown=0"
);
call
mtr
.
add_suppression
(
"Found 1 prepared XA transactions"
);
CREATE
TABLE
t
(
f1
INT
NOT
NULL
)
ENGINE
=
InnoDB
;
XA
START
'zombie'
;
INSERT
INTO
t
VALUES
(
1
);
XA
END
'zombie'
;
XA
PREPARE
'zombie'
;
let
$restart_parameters
=--
innodb_undo_tablespaces
=
0
;
let
$restart_parameters
=--
innodb_undo_tablespaces
=
0
;
--
source
include
/
restart_mysqld
.
inc
--
source
include
/
restart_mysqld
.
inc
...
@@ -53,4 +60,6 @@ exec $XTRABACKUP --prepare --target-dir=$targetdir;
...
@@ -53,4 +60,6 @@ exec $XTRABACKUP --prepare --target-dir=$targetdir;
--
echo
# Display undo log files from target directory
--
echo
# Display undo log files from target directory
list_files
$targetdir
undo
*
;
list_files
$targetdir
undo
*
;
XA
COMMIT
'zombie'
;
DROP
TABLE
t
;
rmdir
$targetdir
;
rmdir
$targetdir
;
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