1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-27 05:41:41 +03:00
Files
mariadb/mysql-test/suite/s3/unsupported.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

32 lines
568 B
Plaintext

--source include/have_s3.inc
--source create_database.inc
#
# Test unsupported features in S3
#
#
#
# MDEV-19463 Altering sequence to S3 leaves unremovable garbage behind
#
create sequence s1;
--replace_result $database database
--error ER_CANT_CREATE_TABLE
alter table s1 engine=s3;
drop sequence s1;
#
# MDEV-19461 Assertion failure upon altering temporary S3 table
#
create temporary table t1 (a int);
--replace_result $database database
--error ER_CANT_CREATE_TABLE
alter table t1 engine=S3;
drop temporary table t1;
# clean up
#
--source drop_database.inc