summaryrefslogtreecommitdiff
path: root/mysql-test/t/alter_table_online.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/alter_table_online.test')
-rw-r--r--mysql-test/t/alter_table_online.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/t/alter_table_online.test b/mysql-test/t/alter_table_online.test
index be8037abe11..20dbfe9c46a 100644
--- a/mysql-test/t/alter_table_online.test
+++ b/mysql-test/t/alter_table_online.test
@@ -7,7 +7,7 @@
drop table if exists t1,t2,t3;
--enable_warnings
#
-# Test of things that can be done online
+# Test of things that can not be done online
#
create table t1 (a int not null primary key, b int, c varchar(80), e enum('a','b'));
@@ -24,6 +24,13 @@ alter online table t1 comment "new comment";
--error ER_ALTER_OPERATION_NOT_SUPPORTED
alter online table t1 rename to t2;
+# No OPs
+
+alter online table t1 algorithm=INPLACE, lock=NONE;
+alter online table t1;
+alter table t1 algorithm=INPLACE;
+alter table t1 lock=NONE;
+
drop table t1;
#