| 1 |
# |
| 2 |
# MDEV-20306 |
| 3 |
# Assertion `!(end_of_data > info->scan.dir_end)' failed in |
| 4 |
# _ma_scan_block_record upon converting table from S3 to Aria |
| 5 |
# with encryption enabled |
| 6 |
# |
| 7 |
drop table if exists t1; |
| 8 |
CREATE TABLE t1 (a INT) ENGINE=Aria; |
| 9 |
INSERT INTO t1 VALUES (1); |
| 10 |
ALTER TABLE t1 ENGINE=S3; |
| 11 |
select * from t1; |
| 12 |
a |
| 13 |
1 |
| 14 |
show create table t1; |
| 15 |
Table Create Table |
| 16 |
t1 CREATE TABLE `t1` ( |
| 17 |
`a` int(11) DEFAULT NULL |
| 18 |
) ENGINE=S3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci PAGE_CHECKSUM=1 |
| 19 |
ALTER TABLE t1 ENGINE=Aria; |
| 20 |
select * from t1; |
| 21 |
a |
| 22 |
1 |
| 23 |
DROP TABLE t1; |