summaryrefslogtreecommitdiff
path: root/mysql-test/t/select.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@myoffice.izhnet.ru>2007-01-18 11:13:13 +0400
committerunknown <ramil/ram@myoffice.izhnet.ru>2007-01-18 11:13:13 +0400
commit84b51f9f8fcc06d6e51b263ad72cdcc22e04a9b6 (patch)
treeaa8bfc4b3e8c3b9c6d35b45e17980b394965cdea /mysql-test/t/select.test
parent3aca00e1059a6eae27b4525d8a2f8590e99031cb (diff)
parent7c5a417a4e117358c08a2b40f39c901f58b4c5e2 (diff)
downloadmariadb-git-84b51f9f8fcc06d6e51b263ad72cdcc22e04a9b6.tar.gz
Merge mysql.com:/usr/home/ram/work/bug22533/my50-bug22533
into mysql.com:/usr/home/ram/work/bug22533/my51-bug22533 mysql-test/t/range.test: Auto merged sql/item.cc: Auto merged mysql-test/r/select.result: merging mysql-test/t/select.test: merging
Diffstat (limited to 'mysql-test/t/select.test')
-rw-r--r--mysql-test/t/select.test13
1 files changed, 12 insertions, 1 deletions
diff --git a/mysql-test/t/select.test b/mysql-test/t/select.test
index bc0dfd6de76..d55a3825933 100644
--- a/mysql-test/t/select.test
+++ b/mysql-test/t/select.test
@@ -2350,7 +2350,18 @@ INSERT INTO t1 VALUES (10);
SELECT i='1e+01',i=1e+01, i in (1e+01,1e+01), i in ('1e+01','1e+01') FROM t1;
DROP TABLE t1;
-# End of 4.1 tests
+#
+# Bug #22533: storing large hex strings
+#
+
+create table t1(a bigint unsigned, b bigint);
+insert into t1 values (0xfffffffffffffffff, 0xfffffffffffffffff),
+ (0x10000000000000000, 0x10000000000000000),
+ (0x8fffffffffffffff, 0x8fffffffffffffff);
+select hex(a), hex(b) from t1;
+drop table t1;
+
+--echo End of 4.1 tests
#
# Test for bug #6474