summaryrefslogtreecommitdiff
path: root/mysql-test/t/udf.test
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2006-08-02 21:54:10 +0400
committerunknown <kostja@bodhi.local>2006-08-02 21:54:10 +0400
commite44e344cac60606be0fe13373b6166688e449244 (patch)
tree3241b2854c0aa8cee9250880ef30eb407e84e7ec /mysql-test/t/udf.test
parenta0efaba36344800e522ba03d373ab2450841852d (diff)
parent1cf65f311dbf09615bea443b041a78db34d7e2ea (diff)
downloadmariadb-git-e44e344cac60606be0fe13373b6166688e449244.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into bodhi.local:/opt/local/work/mysql-5.0-runtime-merge sql/item.cc: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/mysql_priv.h: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_view.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.h: Auto merged mysql-test/r/sp.result: Manual merge. mysql-test/r/udf.result: Manual merge. mysql-test/t/sp.test: Manual merge. mysql-test/t/udf.test: Manual 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.
#