summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_misc.test
diff options
context:
space:
mode:
authorramil/ram@ramil.myoffice.izhnet.ru <>2007-10-23 13:55:06 +0500
committerramil/ram@ramil.myoffice.izhnet.ru <>2007-10-23 13:55:06 +0500
commitc7528dff69cfb8dd3bf9b004b41f1b4a6252da77 (patch)
tree158a09f7b6208e5c6d6ab5d5c2415de29f3bbed6 /mysql-test/t/func_misc.test
parent5a42bb96f86906319ab20247112b31cf8be66fc1 (diff)
parentb4f558419ff3b603fbd29adfa085f2d2c8f4b379 (diff)
downloadmariadb-git-c7528dff69cfb8dd3bf9b004b41f1b4a6252da77.tar.gz
Merge mysql.com:/home/ram/work/b31349/b31349.5.0
into mysql.com:/home/ram/work/b31349/b31349.5.1
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r--mysql-test/t/func_misc.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test
index 01eff55d1f6..db4df9ef244 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -198,6 +198,14 @@ drop table table_26093;
drop function func_26093_a;
drop function func_26093_b;
+#
+# Bug #31349: ERROR 1062 (23000): Duplicate entry '' for key 'group_key'
+#
+create table t1 (a int not null);
+insert into t1 values (-1), (-2);
+select min(a) from t1 group by inet_ntoa(a);
+drop table t1;
+
--echo End of 5.0 tests
#