summaryrefslogtreecommitdiff
path: root/mysql-test/main/view.test
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-12-13 18:24:51 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-12-13 18:24:51 +0200
commitb7914f562da0d4bce7c1c26b119e7063594be974 (patch)
treedf85f229a896cf3e6b24ebc34063b078774b3834 /mysql-test/main/view.test
parent21ef68d52e13ec146dab6cf54e0d3eca87306d58 (diff)
parentd7a4ce3c804334914b2431e91d6328945dce6b02 (diff)
downloadmariadb-git-b7914f562da0d4bce7c1c26b119e7063594be974.tar.gz
Merge 10.8 into 10.9
Diffstat (limited to 'mysql-test/main/view.test')
-rw-r--r--mysql-test/main/view.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/main/view.test b/mysql-test/main/view.test
index 334b17611ce..f684f072eb3 100644
--- a/mysql-test/main/view.test
+++ b/mysql-test/main/view.test
@@ -6645,6 +6645,15 @@ drop view v1;
drop table t1;
--echo #
+--echo # MDEV-28696 View created as "select b''; " references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
+--echo #
+
+CREATE VIEW v1 as select b'';
+SELECT * FROM v1;
+DROP VIEW v1;
+
+
+--echo #
--echo # End of 10.3 tests
--echo #