List:Commits« Previous MessageNext Message »
From:Hakan Kuecuekyilmaz Date:June 19 2007 7:29am
Subject:bk commit into 6.0-falcon tree (hakank:1.2578)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0-falcon repository of hakan. When hakan 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-06-19 09:29:23+02:00, hakank@stripped +7 -0
  Falcon has no limit of decimal(18,9) anymore.

  mysql-test/r/falcon_bug_23663.result@stripped, 2007-06-19 09:29:20+02:00, hakank@stripped +1 -7
    Adjusted result file.

  mysql-test/r/falcon_bug_26607.result@stripped, 2007-06-19 09:29:20+02:00, hakank@stripped +14 -3
    Adjusted result file.

  mysql-test/r/falcon_bug_27962.result@stripped, 2007-06-19 09:29:20+02:00, hakank@stripped +3 -5
    Adjusted result file.

  mysql-test/t/disabled.def@stripped, 2007-06-19 09:29:20+02:00, hakank@stripped +1 -1
    falcon_bug_26607 works now

  mysql-test/t/falcon_bug_23663.test@stripped, 2007-06-19 09:29:20+02:00, hakank@stripped +0 -8
    Falcon has no limit of decimal(18,9) anymore.

  mysql-test/t/falcon_bug_26607.test@stripped, 2007-06-19 09:29:20+02:00, hakank@stripped +13 -3
    Extended test case.

  mysql-test/t/falcon_bug_27962.test@stripped, 2007-06-19 09:29:20+02:00, hakank@stripped +0 -2
    Falcon has no limit of decimal(18,9) anymore.

# 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:	hakank
# Host:	lu0011.wdf.sap.corp
# Root:	/home/hakan/work/mysql/mysql-5.1-falcon

--- 1.2/mysql-test/r/falcon_bug_23663.result	2007-04-20 21:45:52 +02:00
+++ 1.3/mysql-test/r/falcon_bug_23663.result	2007-06-19 09:29:20 +02:00
@@ -6,14 +6,8 @@
 min_val  decimal(32, 15) DEFAULT NULL,
 null_val decimal(32, 15) DEFAULT NULL
 );
-ERROR HY000: Can't create table 'test.t1' (errno: 138)
-CREATE TABLE t1 (
-max_val  decimal(18, 8) DEFAULT NULL,
-min_val  decimal(18, 8) DEFAULT NULL,
-null_val decimal(18, 8) DEFAULT NULL
-);
 INSERT INTO t1 VALUES (0, -2147483648, 0);
 SELECT min_val FROM t1;
 min_val
--2147483648.00000000
+-2147483648.000000000000000
 DROP TABLE t1;

--- 1.1/mysql-test/r/falcon_bug_26607.result	2007-02-23 20:42:34 +01:00
+++ 1.2/mysql-test/r/falcon_bug_26607.result	2007-06-19 09:29:20 +02:00
@@ -1,13 +1,24 @@
 SET @@storage_engine = Falcon;
 *** Bug #26607 ***
 DROP TABLE IF EXISTS t1;
-CREATE TABLE t1 (a decimal(31, 30));
-INSERT INTO t1 VALUES (-9.999999999999999999999999999999);
-INSERT INTO t1 VALUES (9.999999999999999999999999999999);
+CREATE TABLE t1 (
+a decimal(31, 30),
+b decimal(18, 18)
+);
+INSERT INTO t1 (a) VALUES (-9.999999999999999999999999999999);
+INSERT INTO t1 (a) VALUES (9.999999999999999999999999999999);
+INSERT INTO t1 (b) VALUES (-0.123456789012345678);
+INSERT INTO t1 (b) VALUES (0.123456789012345678);
 SELECT count(*) FROM t1 WHERE a = -9.999999999999999999999999999999;
 count(*)
 1
 SELECT count(*) FROM t1 WHERE a = 9.999999999999999999999999999999;
+count(*)
+1
+SELECT count(*) FROM t1 WHERE b = -0.123456789012345678;
+count(*)
+1
+SELECT count(*) FROM t1 WHERE b = 0.123456789012345678;
 count(*)
 1
 DROP TABLE t1;

--- 1.2/mysql-test/t/falcon_bug_23663.test	2007-04-20 21:45:52 +02:00
+++ 1.3/mysql-test/t/falcon_bug_23663.test	2007-06-19 09:29:20 +02:00
@@ -7,18 +7,10 @@
 DROP TABLE IF EXISTS t1;
 --enable_warnings
 
---error 1005
 CREATE TABLE t1 (
   max_val  decimal(32, 15) DEFAULT NULL,
   min_val  decimal(32, 15) DEFAULT NULL,
   null_val decimal(32, 15) DEFAULT NULL
-);
-
-# Falcon alpha has limit of decimal(18,9).
-CREATE TABLE t1 (
-  max_val  decimal(18, 8) DEFAULT NULL,
-  min_val  decimal(18, 8) DEFAULT NULL,
-  null_val decimal(18, 8) DEFAULT NULL
 );
 
 INSERT INTO t1 VALUES (0, -2147483648, 0);

--- 1.1/mysql-test/t/falcon_bug_26607.test	2007-02-23 20:42:34 +01:00
+++ 1.2/mysql-test/t/falcon_bug_26607.test	2007-06-19 09:29:20 +02:00
@@ -7,13 +7,23 @@
 DROP TABLE IF EXISTS t1;
 --enable_warnings
 
-CREATE TABLE t1 (a decimal(31, 30));
+CREATE TABLE t1 (
+  a decimal(31, 30),
+  b decimal(18, 18)
+);
+
+INSERT INTO t1 (a) VALUES (-9.999999999999999999999999999999);
+INSERT INTO t1 (a) VALUES (9.999999999999999999999999999999);
+
+INSERT INTO t1 (b) VALUES (-0.123456789012345678);
+INSERT INTO t1 (b) VALUES (0.123456789012345678);
 
-INSERT INTO t1 VALUES (-9.999999999999999999999999999999);
-INSERT INTO t1 VALUES (9.999999999999999999999999999999);
 
 SELECT count(*) FROM t1 WHERE a = -9.999999999999999999999999999999;
 SELECT count(*) FROM t1 WHERE a = 9.999999999999999999999999999999;
+
+SELECT count(*) FROM t1 WHERE b = -0.123456789012345678;
+SELECT count(*) FROM t1 WHERE b = 0.123456789012345678;
 
 # Final cleanup.
 DROP TABLE t1;

--- 1.2/mysql-test/r/falcon_bug_27962.result	2007-04-20 20:46:59 +02:00
+++ 1.3/mysql-test/r/falcon_bug_27962.result	2007-06-19 09:29:20 +02:00
@@ -2,18 +2,16 @@
 SET @@storage_engine = 'Falcon';
 DROP TABLE IF EXISTS t1;
 CREATE TABLE t1 (a decimal(19,10));
-ERROR HY000: Can't create table 'test.t1' (errno: 138)
-CREATE TABLE t1 (a decimal(18,9));
 INSERT INTO t1 VALUES (0.1),(0.01),(0.001);
 SELECT a FROM t1 WHERE a = 0.1;
 a
-0.100000000
+0.1000000000
 SELECT a FROM t1 WHERE a = 0.01;
 a
-0.010000000
+0.0100000000
 SELECT a FROM t1 WHERE a = 0.001;
 a
-0.001000000
+0.0010000000
 SELECT count(*) FROM t1;
 count(*)
 3

--- 1.2/mysql-test/t/falcon_bug_27962.test	2007-04-20 20:46:59 +02:00
+++ 1.3/mysql-test/t/falcon_bug_27962.test	2007-06-19 09:29:20 +02:00
@@ -14,10 +14,8 @@
 DROP TABLE IF EXISTS t1;
 --enable_warnings
 
---error 1005
 CREATE TABLE t1 (a decimal(19,10));
 
-CREATE TABLE t1 (a decimal(18,9));
 INSERT INTO t1 VALUES (0.1),(0.01),(0.001);
 
 # ----------------------------------------------------- #

--- 1.330/mysql-test/t/disabled.def	2007-06-15 00:14:16 +02:00
+++ 1.331/mysql-test/t/disabled.def	2007-06-19 09:29:20 +02:00
@@ -67,7 +67,7 @@
 falcon_bug_24024    : Bug#24024 2006-12-05 ML (Get pushbuild green)
 falcon_bug_26058    : Bug#26058 2007-05-03 hakank Currently failing
 #falcon_bug_26433    : Bug#26433 2007-02-16 hakank Currently failing
-falcon_bug_26607    : Bug#26607 2007-02-23 hakank Currently failing
+#falcon_bug_26607    : Bug#26607 2007-02-23 hakank Currently failing
 falcon_bug_26827    : Bug#26827 2007-03-04 hakank Currently failing
 falcon_bug_27426    : Bug#27426 2007-03-27 hakank Currently failing
 falcon_bug_27997    : Bug#27997 2007-04-21 hakank Currently failing
Thread
bk commit into 6.0-falcon tree (hakank:1.2578)Hakan Kuecuekyilmaz19 Jun