List:Commits« Previous MessageNext Message »
From:bar Date:March 28 2006 1:21pm
Subject:bk commit into 5.0 tree (bar:1.2106)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of bar. When bar 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.2106 06/03/28 18:21:19 bar@stripped +1 -0
  cast.result:
    After merge fix.

  mysql-test/r/cast.result
    1.41 06/03/28 18:20:37 bar@stripped +8 -8
    After merge fix.

# 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:	bar
# Host:	bar.intranet.mysql.r18.ru
# Root:	/usr/home/bar/mysql-5.0

--- 1.40/mysql-test/r/cast.result	2006-03-28 17:07:19 +05:00
+++ 1.41/mysql-test/r/cast.result	2006-03-28 18:20:37 +05:00
@@ -337,6 +337,14 @@
 select cast(1.0e+300 as signed int);
 cast(1.0e+300 as signed int)
 9223372036854775807
+CREATE TABLE t1 (f1 double);
+INSERT INTO t1 SET f1 = -1.0e+30 ;
+INSERT INTO t1 SET f1 = +1.0e+30 ;
+SELECT f1 AS double_val, CAST(f1 AS SIGNED INT) AS cast_val FROM t1;
+double_val	cast_val
+-1e+30	-9223372036854775808
+1e+30	9223372036854775807
+DROP TABLE t1;
 select cast('1.2' as decimal(3,2));
 cast('1.2' as decimal(3,2))
 1.20
@@ -370,11 +378,3 @@
 select cast(NULL as decimal(6)) as t1;
 t1
 NULL
-CREATE TABLE t1 (f1 double);
-INSERT INTO t1 SET f1 = -1.0e+30 ;
-INSERT INTO t1 SET f1 = +1.0e+30 ;
-SELECT f1 AS double_val, CAST(f1 AS SIGNED INT) AS cast_val FROM t1;
-double_val	cast_val
--1e+30	-9223372036854775808
-1e+30	9223372036854775807
-DROP TABLE t1;
Thread
bk commit into 5.0 tree (bar:1.2106)bar28 Mar