summaryrefslogtreecommitdiff
path: root/mysql-test/t/udf.test
diff options
context:
space:
mode:
authorkostja@bodhi.local <>2006-08-02 21:54:10 +0400
committerkostja@bodhi.local <>2006-08-02 21:54:10 +0400
commit1b145118b92509b290e23adf30e64ffab8de9b7d (patch)
tree3241b2854c0aa8cee9250880ef30eb407e84e7ec /mysql-test/t/udf.test
parent3d3bf24a937acd0fb7802dcd15ceec2bdb93feb4 (diff)
parent83896aa8f6b4a4df9702a1ed8ec48415a554b72a (diff)
downloadmariadb-git-1b145118b92509b290e23adf30e64ffab8de9b7d.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into bodhi.local:/opt/local/work/mysql-5.0-runtime-merge
Diffstat (limited to 'mysql-test/t/udf.test')
-rw-r--r--mysql-test/t/udf.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/t/udf.test b/mysql-test/t/udf.test
index 80c73948744..96e559f5c05 100644
--- a/mysql-test/t/udf.test
+++ b/mysql-test/t/udf.test
@@ -120,7 +120,13 @@ RETURNS STRING SONAME "should_not_parse.so";
--error ER_WRONG_USAGE
CREATE DEFINER=someone@somewhere FUNCTION should_not_parse
RETURNS STRING SONAME "should_not_parse.so";
-
+#
+# Bug#19862: Sort with filesort by function evaluates function twice
+#
+create table t1(f1 int);
+insert into t1 values(1),(2);
+explain select myfunc_int(f1) from t1 order by 1;
+drop table t1;
--echo End of 5.0 tests.
#