mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
ab38b7511b
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
17 lines
335 B
Text
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
|