List:Commits« Previous MessageNext Message »
From:ramil Date:January 19 2007 4:56am
Subject:bk commit into 5.0 tree (ramil:1.2378)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of ram. When ram 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@stripped, 2007-01-19 08:56:03+04:00, ramil@stripped +2 -0
  Merge rkalimullin@stripped:/home/bk/mysql-5.0-maint
  into  mysql.com:/usr/home/ram/work/bug22533/my50-bug22533
  MERGE: 1.2371.1.1

  mysql-test/r/select.result@stripped, 2007-01-19 08:55:52+04:00, ramil@stripped +0 -0
    Auto merged
    MERGE: 1.143.1.2

  mysql-test/t/select.test@stripped, 2007-01-19 08:55:52+04:00, ramil@stripped +0 -0
    Auto merged
    MERGE: 1.117.1.1

# 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:	ramil
# Host:	myoffice.izhnet.ru
# Root:	/usr/home/ram/work/bug22533/my50-bug22533/RESYNC

--- 1.144/mysql-test/r/select.result	2007-01-19 08:56:16 +04:00
+++ 1.145/mysql-test/r/select.result	2007-01-19 08:56:16 +04:00
@@ -2811,6 +2811,23 @@ select min(key1) from t1 where key1 >= 0
 min(key1)
 0.37619999051094
 DROP TABLE t1,t2;
+create table t1(a bigint unsigned, b bigint);
+insert into t1 values (0xfffffffffffffffff, 0xfffffffffffffffff), 
+(0x10000000000000000, 0x10000000000000000), 
+(0x8fffffffffffffff, 0x8fffffffffffffff);
+Warnings:
+Warning	1264	Out of range value adjusted for column 'a' at row 1
+Warning	1264	Out of range value adjusted for column 'b' at row 1
+Warning	1264	Out of range value adjusted for column 'a' at row 2
+Warning	1264	Out of range value adjusted for column 'b' at row 2
+Warning	1264	Out of range value adjusted for column 'b' at row 3
+select hex(a), hex(b) from t1;
+hex(a)	hex(b)
+FFFFFFFFFFFFFFFF	7FFFFFFFFFFFFFFF
+FFFFFFFFFFFFFFFF	7FFFFFFFFFFFFFFF
+8FFFFFFFFFFFFFFF	7FFFFFFFFFFFFFFF
+drop table t1;
+End of 4.1 tests
 CREATE TABLE t1 ( 
 K2C4 varchar(4) character set latin1 collate latin1_bin NOT NULL default '', 
 K4N4 varchar(4) character set latin1 collate latin1_bin NOT NULL default '0000', 

--- 1.118/mysql-test/t/select.test	2007-01-19 08:56:17 +04:00
+++ 1.119/mysql-test/t/select.test	2007-01-19 08:56:17 +04:00
@@ -2349,7 +2349,18 @@ select min(key1) from t1 where key1 >= 0
 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
Thread
bk commit into 5.0 tree (ramil:1.2378)ramil19 Jan