MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:holyfoot Date:November 6 2006 11:05am
Subject:bk commit into 5.0 tree (holyfoot:1.2297)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of hf. When hf 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, 2006-11-06 15:04:58+04:00, holyfoot@stripped +2 -0
  Merge bk@stripped:mysql-5.0-opt
  into  mysql.com:/home/hf/work/8663/my50-8663
  MERGE: 1.2294.1.1

  mysql-test/r/type_newdecimal.result@stripped, 2006-11-06 15:04:20+04:00, holyfoot@stripped +5 -5
    merging
    MERGE: 1.41.1.1

  mysql-test/t/type_newdecimal.test@stripped, 2006-11-06 15:04:49+04:00, holyfoot@stripped +5 -7
    merging
    MERGE: 1.38.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:	holyfoot
# Host:	deer.(none)
# Root:	/home/hf/work/8663/my50-8663/RESYNC

--- 1.43/mysql-test/r/type_newdecimal.result	2006-11-06 15:05:04 +04:00
+++ 1.44/mysql-test/r/type_newdecimal.result	2006-11-06 15:05:04 +04:00
@@ -1420,3 +1420,8 @@ f1
 20101112000000.000014
 101112.000000
 drop table t1;
+select cast(19999999999999999999 as unsigned);
+cast(19999999999999999999 as unsigned)
+18446744073709551615
+Warnings:
+Error	1292	Truncated incorrect DECIMAL value: ''

--- 1.39/mysql-test/t/type_newdecimal.test	2006-11-06 15:05:04 +04:00
+++ 1.40/mysql-test/t/type_newdecimal.test	2006-11-06 15:05:04 +04:00
@@ -1109,10 +1109,14 @@ select i, count(distinct j) from t1 grou
 select i+0.0 as i2, count(distinct j) from t1 group by i2;
 drop table t1;
 
-
 create table t1(f1 decimal(20,6));
 insert into t1 values (CAST('10:11:12' AS date) + interval 14 microsecond);
 insert into t1 values (CAST('10:11:12' AS time));
 select * from t1;
 drop table t1;
+
+#
+# Bug #8663 (cant use bigint as input to CAST)
+#
+select cast(19999999999999999999 as unsigned);
 
Thread
bk commit into 5.0 tree (holyfoot:1.2297)holyfoot6 Nov