summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-08-30 11:36:04 +0400
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-08-30 11:36:04 +0400
commit4124f1f46702181d55a43b13f8c44b8b41cef1fb (patch)
tree06506e2274c133644eb3fcbca753ad7e379967c6 /mysql-test/t
parent0d21bbe38705d8bd7b8a65bf69d1a33fa27f0ded (diff)
parentd7d0f6390b8d95b34ffb79f1a77ab11657e064a8 (diff)
downloadmariadb-git-4124f1f46702181d55a43b13f8c44b8b41cef1fb.tar.gz
Automerge.
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/func_group.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test
index 2914bb15d18..7383fdd9234 100644
--- a/mysql-test/t/func_group.test
+++ b/mysql-test/t/func_group.test
@@ -1082,6 +1082,20 @@ select a.f1 as a, b.f4 as b, a.f1 > b.f4 as gt,
from t1 a, t1 b;
select *, f1 = f2 from t1;
drop table t1;
+
+--echo #
+--echo # Bug #54465: assert: field_types == 0 || field_types[field_pos] ==
+--echo # MYSQL_TYPE_LONGLONG
+--echo #
+
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1), (2);
+
+SELECT MAX((SELECT 1 FROM t1 ORDER BY @var LIMIT 1)) m FROM t1 t2, t1
+ ORDER BY t1.a;
+
+DROP TABLE t1;
+
--echo #
--echo End of 5.1 tests