summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-07-05 17:54:25 +0200
committerSergei Golubchik <sergii@pisem.net>2013-07-05 17:54:25 +0200
commitd3157e239a3fc15e68ea90c65ed0b94ebb53fc81 (patch)
tree2a4f2c9502a6c374f12e3442c3a5db03f0bab6a2 /mysql-test/r
parent782d86af44a314c8c60d6c017d500f4f214f665b (diff)
downloadmariadb-git-d3157e239a3fc15e68ea90c65ed0b94ebb53fc81.tar.gz
MDEV-4665 crash when referencing missing function in a subquery
don't ignore the return value fix_fields()
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/sp_missing_4665.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/sp_missing_4665.result b/mysql-test/r/sp_missing_4665.result
new file mode 100644
index 00000000000..47587c180c6
--- /dev/null
+++ b/mysql-test/r/sp_missing_4665.result
@@ -0,0 +1,6 @@
+create table t (a int);
+create or replace view v as select 1 from t where a;
+delete from v where (select g());
+ERROR 42000: FUNCTION test.g does not exist
+drop view v;
+drop table t;