| 1 |
--source include/have_s3.inc |
| 2 |
--source create_database.inc |
| 3 |
|
| 4 |
# |
| 5 |
# Test unsupported features in S3 |
| 6 |
# |
| 7 |
# |
| 8 |
|
| 9 |
# |
| 10 |
# MDEV-19463 Altering sequence to S3 leaves unremovable garbage behind |
| 11 |
# |
| 12 |
|
| 13 |
create sequence s1; |
| 14 |
--replace_result $database database |
| 15 |
--error ER_CANT_CREATE_TABLE |
| 16 |
alter table s1 engine=s3; |
| 17 |
drop sequence s1; |
| 18 |
|
| 19 |
# |
| 20 |
# MDEV-19461 Assertion failure upon altering temporary S3 table |
| 21 |
# |
| 22 |
|
| 23 |
create temporary table t1 (a int); |
| 24 |
--replace_result $database database |
| 25 |
--error ER_CANT_CREATE_TABLE |
| 26 |
alter table t1 engine=S3; |
| 27 |
drop temporary table t1; |
| 28 |
|
| 29 |
--echo # |
| 30 |
--echo # CREATE of S3 table |
| 31 |
--echo # |
| 32 |
|
| 33 |
--replace_result $database database |
| 34 |
--error ER_CANT_CREATE_TABLE |
| 35 |
create or replace table t1 (a int, b int, key (a)) engine=S3; |
| 36 |
--replace_result $database database |
| 37 |
--error ER_NO_SUCH_TABLE |
| 38 |
select * from t1; |
| 39 |
|
| 40 |
# |
| 41 |
# clean up |
| 42 |
# |
| 43 |
--source drop_database.inc |