summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_misc.test
diff options
context:
space:
mode:
authortsmith@ramayana.hindu.god <>2007-12-05 12:33:36 -0700
committertsmith@ramayana.hindu.god <>2007-12-05 12:33:36 -0700
commit8fc0bfb6b6d94a8b06c0f3a632baa477612b7249 (patch)
tree014b7a0c6686c33c9845e9527ebb9f0052457950 /mysql-test/t/func_misc.test
parent1a87a089a76b6c097100f39ff3c13c0c6cde748e (diff)
parent4e08609f03ebd077bdd0843ab1722c8f19735c68 (diff)
downloadmariadb-git-8fc0bfb6b6d94a8b06c0f3a632baa477612b7249.tar.gz
Merge ramayana.hindu.god:/home/tsmith/m/bk/51
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51-merge
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 4b7685c3633..fb85cdfb27d 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -213,6 +213,14 @@ SELECT NAME_CONST('test', 1.0);
SELECT NAME_CONST('test', -1.0);
SELECT NAME_CONST('test', 'test');
+#
+# 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
#