MDEV-10556 Assertion `0' failed in virtual void Item_sum_field::set_result_field(Field*)

This commit is contained in:
Alexander Barkov 2016-09-21 09:13:33 +04:00
commit ec7e0b7b30
5 changed files with 53 additions and 1 deletions

View file

@ -0,0 +1,13 @@
#
# Start of 10.1 tests
#
#
# MDEV-10556 Assertion `0' failed in virtual void Item_sum_field::set_result_field(Field*)
#
CREATE TABLE t1 (i INT) ENGINE=InnoDB;
SELECT DISTINCT STDDEV(1) FROM t1 GROUP BY i ORDER BY BENCHMARK(0, BIT_XOR(i));
STDDEV(1)
DROP TABLE t1;
#
# End of 10.1 tests
#