summaryrefslogtreecommitdiff
path: root/mysql-test/r/view.result
diff options
context:
space:
mode:
authorunknown <SergeyV@selena.>2006-02-13 19:53:34 +0300
committerunknown <SergeyV@selena.>2006-02-13 19:53:34 +0300
commit559abcf5d973213727e2dda42ee1577b4914564e (patch)
tree78c78b02b554683ac39b323e46a8ec74d47b0d6f /mysql-test/r/view.result
parent8e97e9c8c52cf5112ae151277ffabc3946292e4b (diff)
downloadmariadb-git-559abcf5d973213727e2dda42ee1577b4914564e.tar.gz
Fixes bug #15943. resets error flag for show create view command, to allow
proper processing of multiple sql statements sent as a single command. mysql-test/r/view.result: result file update for #15943 test case mysql-test/t/view.test: test case added for bug #15943
Diffstat (limited to 'mysql-test/r/view.result')
-rw-r--r--mysql-test/r/view.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result
index e209e393d00..6b96bf7ca17 100644
--- a/mysql-test/r/view.result
+++ b/mysql-test/r/view.result
@@ -2538,3 +2538,13 @@ Warnings:
Warning 1052 Column 'x' in group statement is ambiguous
DROP VIEW v1;
DROP TABLE t1;
+drop table if exists t1;
+drop view if exists v1;
+create table t1 (id int);
+create view v1 as select * from t1;
+drop table t1;
+show create view v1;
+drop view v1;
+//
+View Create View
+v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select sql_no_cache `test`.`t1`.`id` AS `id` from `t1`