mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
3e3cfa8934
xb_read_delta_metadata(): For ROW_FORMAT=COMPRESSED tables, initialize
the info.zip_size with the physical page size and let info.page_size
remain the logical page size, like xb_delta_open_matching_space()
expects it to be ever since
commit 0a1c3477bf
(MDEV-18493).
18 lines
531 B
Text
18 lines
531 B
Text
#
|
|
# 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;
|