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
3c8674ed
Commit
3c8674ed
authored
Sep 19, 2022
by
Daniel Black
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.4 into 10.5
parents
01d78d31
ef784c4e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
1 deletion
+46
-1
extra/mariabackup/xtrabackup.cc
extra/mariabackup/xtrabackup.cc
+2
-1
mysql-test/suite/mariabackup/incremental_compressed.result
mysql-test/suite/mariabackup/incremental_compressed.result
+18
-0
mysql-test/suite/mariabackup/incremental_compressed.test
mysql-test/suite/mariabackup/incremental_compressed.test
+26
-0
No files found.
extra/mariabackup/xtrabackup.cc
View file @
3c8674ed
...
...
@@ -2364,7 +2364,8 @@ xb_read_delta_metadata(const char *filepath, xb_delta_info_t *info)
msg
(
"page_size is required in %s"
,
filepath
);
r
=
FALSE
;
}
else
{
info
->
page_size
=
zip_size
?
zip_size
:
page_size
;
info
->
page_size
=
page_size
;
info
->
zip_size
=
zip_size
;
}
if
(
info
->
space_id
==
ULINT_UNDEFINED
)
{
...
...
mysql-test/suite/mariabackup/incremental_compressed.result
0 → 100644
View file @
3c8674ed
#
# MDEV-18589 Assertion ...physical_size(flags) == info.page_size
# failed in xb_delta_open_matching_space
#
CREATE TABLE t (pk INT PRIMARY KEY) ENGINE=InnoDB ROW_FORMAT=COMPRESSED;
ALTER TABLE t PARTITION BY KEY(pk);
# shutdown server
# remove datadir
# xtrabackup move back
# restart
SHOW CREATE TABLE t;
Table Create Table
t CREATE TABLE `t` (
`pk` int(11) NOT NULL,
PRIMARY KEY (`pk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPRESSED
PARTITION BY KEY (`pk`)
DROP TABLE t;
mysql-test/suite/mariabackup/incremental_compressed.test
0 → 100644
View file @
3c8674ed
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_partition
.
inc
let
$basedir
=
$MYSQLTEST_VARDIR
/
tmp
/
backup
;
let
$incremental_dir
=
$MYSQLTEST_VARDIR
/
tmp
/
backup_inc1
;
--
echo
#
--
echo
# MDEV-18589 Assertion ...physical_size(flags) == info.page_size
--
echo
# failed in xb_delta_open_matching_space
--
echo
#
CREATE
TABLE
t
(
pk
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
ROW_FORMAT
=
COMPRESSED
;
--
exec
$XTRABACKUP
--
backup
--
target
-
dir
=
$basedir
--
protocol
=
tcp
--
port
=
$MASTER_MYPORT
--
user
=
root
ALTER
TABLE
t
PARTITION
BY
KEY
(
pk
);
--
exec
$XTRABACKUP
--
backup
--
target
-
dir
=
$incremental_dir
--
incremental
-
basedir
=
$basedir
--
protocol
=
tcp
--
port
=
$MASTER_MYPORT
--
user
=
root
>
$incremental_dir
.
log
2
>&
1
--
exec
$XTRABACKUP
--
prepare
--
target
-
dir
=
$basedir
--
user
=
root
>
$MYSQL_TMP_DIR
/
backup_prepare_0
.
log
2
>&
1
--
exec
$XTRABACKUP
--
prepare
--
target
-
dir
=
$basedir
--
incremental
-
dir
=
$incremental_dir
--
user
=
root
>
$MYSQL_TMP_DIR
/
backup_prepare_1
.
log
--
cat_file
$MYSQL_TMP_DIR
/
backup_prepare_1
.
log
let
$targetdir
=
$basedir
;
--
source
include
/
restart_and_restore
.
inc
SHOW
CREATE
TABLE
t
;
DROP
TABLE
t
;
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