summaryrefslogtreecommitdiff
path: root/mysql-test/r/update.result
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2010-07-19 11:21:24 +0200
committerJon Olav Hauglid <jon.hauglid@oracle.com>2010-07-19 11:21:24 +0200
commitd4885416b7810f39a71f5c6aa28950a6e2e1e0c3 (patch)
tree2c2ad483bc3b231cd58c6b29bb7e1426ea14cd70 /mysql-test/r/update.result
parent7e9f53acdf259a4a474f646a162399cb7ee6f947 (diff)
parent4b2378a1484ec3aa9be43f585c231c402eacf806 (diff)
downloadmariadb-git-d4885416b7810f39a71f5c6aa28950a6e2e1e0c3.tar.gz
manual merge from mysql-5.1-bugteam
Diffstat (limited to 'mysql-test/r/update.result')
-rw-r--r--mysql-test/r/update.result14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/update.result b/mysql-test/r/update.result
index 6c3f54fca38..05ab1b71018 100644
--- a/mysql-test/r/update.result
+++ b/mysql-test/r/update.result
@@ -527,3 +527,17 @@ ERROR HY000: You are using safe update mode and you tried to update a table with
SET SESSION sql_safe_updates = DEFAULT;
DROP TABLE t1;
DROP VIEW v1;
+#
+# Bug#54734 assert in Diagnostics_area::set_ok_status
+#
+DROP TABLE IF EXISTS t1, not_exists;
+DROP FUNCTION IF EXISTS f1;
+DROP VIEW IF EXISTS v1;
+CREATE TABLE t1 (PRIMARY KEY(pk)) AS SELECT 1 AS pk;
+CREATE FUNCTION f1() RETURNS INTEGER RETURN (SELECT 1 FROM not_exists);
+CREATE VIEW v1 AS SELECT pk FROM t1 WHERE f1() = 13;
+UPDATE v1 SET pk = 7 WHERE pk > 0;
+ERROR HY000: View 'test.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
+DROP VIEW v1;
+DROP FUNCTION f1;
+DROP TABLE t1;