mariadb/mysql-test/t/group_by_null.test
Galina Shalygina a4ded0a9b5 Mistakes corrected.
TVC can be used in IN subquery and in PARTITION BY struct now.
Special variable to control working of optimization added.
2017-10-28 20:54:18 +02:00

7 lines
287 B
Text

#
# 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;