summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/group_by_null.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/group_by_null.test')
-rw-r--r--mysql-test/main/group_by_null.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/main/group_by_null.test b/mysql-test/main/group_by_null.test
new file mode 100644
index 00000000..93e96567
--- /dev/null
+++ b/mysql-test/main/group_by_null.test
@@ -0,0 +1,7 @@
+#
+# MDEV-5461 Assertion `length <= column->length' fails in write_block_record with functions in select list, GROUP BY, ORDER BY
+#
+create table t1 (a int);
+insert into t1 values (1),(2);
+select max('foo') from t1 group by value(a), extractvalue('bar','qux') order by "v";
+drop table t1;