mariadb/mysql-test/suite/s3/select.test
Monty ab38b7511b MDEV-17841 S3 storage engine
A read-only storage engine that stores it's data in (aws) S3

To store data in S3 one could use ALTER TABLE:
ALTER TABLE table_name ENGINE=S3

libmarias3 integration done by Sergei Golubchik
libmarias3 created by Andrew Hutchings
2019-05-23 02:28:23 +03:00

17 lines
335 B
Text

--source include/have_s3.inc
--source create_database.inc
#
# MDEV-19465 Server crashes in s3_block_read upon IN quer
#
create table t1 (pk int primary key, a int);
insert into t1 values (1,1),(2,2),(3,3),(4,4);
alter table t1 engine=S3;
select a from t1 where pk in (2, 3);
drop table t1;
#
# clean up
#
--source drop_database.inc