summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2011-04-05 15:02:01 +0200
committerBjorn Munch <bjorn.munch@oracle.com>2011-04-05 15:02:01 +0200
commitf6b6ab987d12a861f07f5a91192677c20d1b4739 (patch)
tree115841e83fc39d50c53aeec58ce778dd25b8a19d /mysql-test/t
parentfc7a12c05d179bf749a650b79c86574d095458b1 (diff)
parentd2d7aa480067ed12b2d18e04be3652a071ee3626 (diff)
downloadmariadb-git-f6b6ab987d12a861f07f5a91192677c20d1b4739.tar.gz
merge from 5.1 main
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/func_group.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test
index 8839a28b9dd..600b46fcde6 100644
--- a/mysql-test/t/func_group.test
+++ b/mysql-test/t/func_group.test
@@ -1117,6 +1117,16 @@ SELECT RELEASE_LOCK('aaaaaaaaaaaaaaaaa');
--enable_result_log
+
+--echo #
+--echo # Bug #11766094 - 59132: MIN() AND MAX() REMOVE UNSIGNEDNESS
+--echo #
+
+CREATE TABLE t1 (a BIGINT UNSIGNED);
+INSERT INTO t1 VALUES (18446668621106209655);
+SELECT MAX(LENGTH(a)), LENGTH(MAX(a)), MIN(a), MAX(a), CONCAT(MIN(a)), CONCAT(MAX(a)) FROM t1;
+DROP TABLE t1;
+
--echo #
--echo End of 5.1 tests