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