Below is the list of changes that have just been committed into a local
4.1 repository of jani. When jani does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2288 05/05/24 17:50:17 jani@stripped +3 -0
Added a test case for Bug#8009.
sql/item.cc
1.203 05/05/24 17:50:10 jani@stripped +1 -0
Fixed Bug#8009.
mysql-test/t/select.test
1.39 05/05/24 17:50:09 jani@stripped +9 -0
Added a test case for Bug#8009.
mysql-test/r/select.result
1.56 05/05/24 17:50:09 jani@stripped +6 -0
Added a test case for Bug#8009.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: jani
# Host: ua141d10.elisa.omakaista.fi
# Root: /home/my/bk/mysql-4.1
--- 1.202/sql/item.cc 2005-05-16 12:18:53 +03:00
+++ 1.203/sql/item.cc 2005-05-24 17:50:10 +03:00
@@ -2107,6 +2107,7 @@
*ptr=0; // Keep purify happy
collation.set(&my_charset_bin, DERIVATION_COERCIBLE);
fixed= 1;
+ unsigned_flag= 1;
}
longlong Item_varbinary::val_int()
--- 1.55/mysql-test/r/select.result 2005-05-19 10:47:03 +03:00
+++ 1.56/mysql-test/r/select.result 2005-05-24 17:50:09 +03:00
@@ -2509,3 +2509,9 @@
COUNT(*)
0
drop table t1;
+CREATE TABLE t1 (b BIGINT(20) UNSIGNED NOT NULL, PRIMARY KEY (b));
+INSERT INTO t1 VALUES (0x8000000000000000);
+SELECT b FROM t1 WHERE b=0x8000000000000000;
+b
+9223372036854775808
+DROP TABLE t1;
--- 1.38/mysql-test/t/select.test 2005-05-18 23:13:57 +03:00
+++ 1.39/mysql-test/t/select.test 2005-05-24 17:50:09 +03:00
@@ -2051,3 +2051,12 @@
AND FK_firma_id = 2;
drop table t1;
+
+#
+# Test for Bug#8009, SELECT failed on bigint unsigned when using HEX
+#
+
+CREATE TABLE t1 (b BIGINT(20) UNSIGNED NOT NULL, PRIMARY KEY (b));
+INSERT INTO t1 VALUES (0x8000000000000000);
+SELECT b FROM t1 WHERE b=0x8000000000000000;
+DROP TABLE t1;
| Thread |
|---|
| • bk commit into 4.1 tree (jani:1.2288) BUG#8009 | jani | 24 May |