summaryrefslogtreecommitdiff
path: root/mysql-test/main/invisible_field.result
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-10-13 12:03:32 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-10-13 12:03:32 +0300
commita736a3174a4e7c0d92a38901ae61f563d4afede7 (patch)
tree348d15f7c9cc883e86d852fbddc780f506669ee4 /mysql-test/main/invisible_field.result
parentb44e12fef176bfc0884fb2c5f4ba7f42bf054f44 (diff)
parent4a7dfda373ff9e28e4f4f35bad76cbfc20934a9a (diff)
downloadmariadb-git-a736a3174a4e7c0d92a38901ae61f563d4afede7.tar.gz
Merge 10.3 into 10.4
Diffstat (limited to 'mysql-test/main/invisible_field.result')
-rw-r--r--mysql-test/main/invisible_field.result17
1 files changed, 16 insertions, 1 deletions
diff --git a/mysql-test/main/invisible_field.result b/mysql-test/main/invisible_field.result
index 9b42b043ec6..081c1ada1ee 100644
--- a/mysql-test/main/invisible_field.result
+++ b/mysql-test/main/invisible_field.result
@@ -538,7 +538,7 @@ a b
insert into t2 values(1);
select a,b from t2;
a b
-NULL 1
+12 1
drop table t1,t2;
create table t1 (a int invisible, b int, c int);
create table t2 (a int, b int, d int);
@@ -627,3 +627,18 @@ drop table t1;
create table t1 (a int, b int invisible);
insert delayed into t1 values (1);
drop table t1;
+#
+# MDEV-25891 Computed default for INVISIBLE column is ignored in INSERT
+#
+create table t1(
+a int,
+x int default (a),
+y int default (a) invisible,
+z int default (33) invisible);
+insert into t1 values (1, default);
+insert into t1 (a) values (2);
+select a, x, y, z from t1;
+a x y z
+1 1 1 33
+2 2 2 33
+drop table t1;