summaryrefslogtreecommitdiff
path: root/mysql-test/main/alter_table_errors.result
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-05-17 08:42:53 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-05-17 08:42:53 +0300
commit4c7608aeb187383f2629e96e085b5b50fc81337f (patch)
treefc8dce68b02a63ca204203034dae81a7162a4b9f /mysql-test/main/alter_table_errors.result
parentc2352c45fbd670f50b73415eeeb676aa67fb4a29 (diff)
parenta4e7800701d0764fe4cbb85b81d7c7cb54677334 (diff)
downloadmariadb-git-4c7608aeb187383f2629e96e085b5b50fc81337f.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'mysql-test/main/alter_table_errors.result')
-rw-r--r--mysql-test/main/alter_table_errors.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/main/alter_table_errors.result b/mysql-test/main/alter_table_errors.result
new file mode 100644
index 00000000000..020a30304d0
--- /dev/null
+++ b/mysql-test/main/alter_table_errors.result
@@ -0,0 +1,10 @@
+create table t (a int, v int as (a)) engine=innodb;
+alter table t change column a b tinyint, algorithm=inplace;
+ERROR 0A000: ALGORITHM=INPLACE is not supported. Reason: Cannot change column type INPLACE. Try ALGORITHM=COPY
+show create table t;
+Table Create Table
+t CREATE TABLE `t` (
+ `a` int(11) DEFAULT NULL,
+ `v` int(11) GENERATED ALWAYS AS (`a`) VIRTUAL
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
+drop table t;