summaryrefslogtreecommitdiff
path: root/mysql-test/t/select.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@mysql.com/myoffice.izhnet.ru>2007-01-18 09:39:47 +0400
committerunknown <ramil/ram@mysql.com/myoffice.izhnet.ru>2007-01-18 09:39:47 +0400
commit2ca87ae30cb5a6edb629be35f8585e860acb11aa (patch)
treea9198331c9962c279bc2fc4b05565d29c98fa1b8 /mysql-test/t/select.test
parentbe820c11d045345aaefea21ead49cfac60b1c31c (diff)
parent0ce02f6d98b5eb94797a935e06fa89f37a241b52 (diff)
downloadmariadb-git-2ca87ae30cb5a6edb629be35f8585e860acb11aa.tar.gz
Merge mysql.com:/usr/home/ram/work/bug22533/my41-bug22533
into mysql.com:/usr/home/ram/work/bug22533/my50-bug22533 mysql-test/r/select.result: resolve skipped mysql-test/t/range.test: merging mysql-test/t/select.test: merging sql/item.cc: 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 0f096d97d25..4209d23971b 100644
--- a/mysql-test/t/select.test
+++ b/mysql-test/t/select.test
@@ -2349,7 +2349,18 @@ select min(key1) from t1 where key1 >= 0.3762 and rand() + 0.5 >= 0.5;
DROP TABLE t1,t2;
--enable_ps_protocol
-# 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