mariadb/mysql-test/suite/s3/amazon.test
Monty fac81c6752 Updated libmarias3 to latest version
This fixed a bug that caused the amazon.test to fail
2019-08-29 12:49:56 +03:00

27 lines
559 B
Text

--source include/have_s3.inc
if (`SELECT @@s3_host_name <> "s3.amazonaws.com"`)
{
skip Not connected to AWS;
}
--source create_database.inc
#
# Check options against amazon
#
set @save_s3_protocol_version=@@global.s3_protocol_version;
set @@global.s3_protocol_version="Original";
create table t1 (pk int primary key, a int);
insert into t1 values (1,1),(2,2),(3,3),(4,4);
--replace_result $database database
alter table t1 engine=S3;
drop table t1;
#
# clean up
#
set @@global.s3_protocol_version=@save_s3_protocol_version;
--source drop_database.inc