summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_default.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-10-14 08:29:11 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-10-14 08:29:11 +0200
commit89e3815b395e29a0e2c282a08ed6326a3330a2aa (patch)
tree7343733389a1868b516f6ab0a1433998f96642d7 /mysql-test/main/func_default.test
parent1f5615360cce22875ae2ab92386704b2ba363d8b (diff)
parent72ba96a48eb3e99a967e0489cc79f378e865e3fd (diff)
downloadmariadb-git-89e3815b395e29a0e2c282a08ed6326a3330a2aa.tar.gz
Merge branch 'bb-10.3-vp-MDEV-27691' into 10.3
Diffstat (limited to 'mysql-test/main/func_default.test')
-rw-r--r--mysql-test/main/func_default.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/main/func_default.test b/mysql-test/main/func_default.test
index 25bf5d24b9f..3413f6bc1d8 100644
--- a/mysql-test/main/func_default.test
+++ b/mysql-test/main/func_default.test
@@ -142,6 +142,9 @@ DROP TABLE t1;
--echo #
--echo # MDEV-21028 Server crashes in Query_arena::set_query_arena upon SELECT from view
--echo #
+#view protocol generates additional statistics
+--disable_view_protocol
+
create table t1 (a datetime default current_timestamp);
insert into t1 () values (),();
create algorithm=temptable view v1 as select * from t1;
@@ -153,6 +156,8 @@ select table_name,is_updatable from information_schema.views;
drop view v1, v2;
drop table t1;
+--enable_view_protocol
+
create table t1 (v1 timestamp) select 'x';
show create table t1;
select default(v1) from (select v1 from t1) dt;