List:Commits« Previous MessageNext Message »
From:Tatjana A Nuernberg Date:November 15 2007 8:08am
Subject:bk commit into 6.0 tree (tnurnberg:1.2689) BUG#31800
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of tnurnberg. When tnurnberg 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-11-15 09:07:56+01:00, tnurnberg@stripped +2 -0
  Bug#31800: Date comparison fails with timezone and slashes for greater than comparison
  
  fix test and results for falcon

  mysql-test/suite/falcon/r/falcon_select.result@stripped, 2007-11-15 09:07:55+01:00, tnurnberg@stripped +7 -7
    '3a' is now '3 plus garbage we ignore', rather than 'something > 30'.
    fix test results to reflect this.

  mysql-test/suite/falcon/t/falcon_select.test@stripped, 2007-11-15 09:07:55+01:00, tnurnberg@stripped +6 -6
    Establish order for results

diff -Nrup a/mysql-test/suite/falcon/r/falcon_select.result b/mysql-test/suite/falcon/r/falcon_select.result
--- a/mysql-test/suite/falcon/r/falcon_select.result	2007-10-02 19:56:23 +02:00
+++ b/mysql-test/suite/falcon/r/falcon_select.result	2007-11-15 09:07:55 +01:00
@@ -3113,40 +3113,40 @@ drop table t1, t2 ,t3;
 create table t1(f1 int, f2 date);
 insert into t1 values(1,'2005-01-01'),(2,'2005-09-01'),(3,'2005-09-30'),
 (4,'2005-10-01'),(5,'2005-12-30');
-select * from t1 where f2 >= 0;
+select * from t1 where f2 >= 0            order by f2;
 f1	f2
 1	2005-01-01
 2	2005-09-01
 3	2005-09-30
 4	2005-10-01
 5	2005-12-30
-select * from t1 where f2 >= '0000-00-00';
+select * from t1 where f2 >= '0000-00-00' order by f2;
 f1	f2
 1	2005-01-01
 2	2005-09-01
 3	2005-09-30
 4	2005-10-01
 5	2005-12-30
-select * from t1 where f2 >= '2005-09-31';
+select * from t1 where f2 >= '2005-09-31' order by f2;
 f1	f2
 4	2005-10-01
 5	2005-12-30
-select * from t1 where f2 >= '2005-09-3a';
+select * from t1 where f2 >= '2005-09-3a' order by f2;
 f1	f2
+3	2005-09-30
 4	2005-10-01
 5	2005-12-30
 Warnings:
 Warning	1292	Incorrect date value: '2005-09-3a' for column 'f2' at row 1
-select * from t1 where f2 <= '2005-09-31';
+select * from t1 where f2 <= '2005-09-31' order by f2;
 f1	f2
 1	2005-01-01
 2	2005-09-01
 3	2005-09-30
-select * from t1 where f2 <= '2005-09-3a';
+select * from t1 where f2 <= '2005-09-3a' order by f2;
 f1	f2
 1	2005-01-01
 2	2005-09-01
-3	2005-09-30
 Warnings:
 Warning	1292	Incorrect date value: '2005-09-3a' for column 'f2' at row 1
 drop table t1;
diff -Nrup a/mysql-test/suite/falcon/t/falcon_select.test b/mysql-test/suite/falcon/t/falcon_select.test
--- a/mysql-test/suite/falcon/t/falcon_select.test	2007-10-05 14:21:27 +02:00
+++ b/mysql-test/suite/falcon/t/falcon_select.test	2007-11-15 09:07:55 +01:00
@@ -2707,14 +2707,14 @@ create table t1(f1 int, f2 date);
 insert into t1 values(1,'2005-01-01'),(2,'2005-09-01'),(3,'2005-09-30'),
   (4,'2005-10-01'),(5,'2005-12-30');
 # should return all records
-select * from t1 where f2 >= 0;
-select * from t1 where f2 >= '0000-00-00';
+select * from t1 where f2 >= 0            order by f2;
+select * from t1 where f2 >= '0000-00-00' order by f2;
 # should return 4,5
-select * from t1 where f2 >= '2005-09-31';
-select * from t1 where f2 >= '2005-09-3a';
+select * from t1 where f2 >= '2005-09-31' order by f2;
+select * from t1 where f2 >= '2005-09-3a' order by f2;
 # should return 1,2,3
-select * from t1 where f2 <= '2005-09-31';
-select * from t1 where f2 <= '2005-09-3a';
+select * from t1 where f2 <= '2005-09-31' order by f2;
+select * from t1 where f2 <= '2005-09-3a' order by f2;
 drop table t1;
 
 #
Thread
bk commit into 6.0 tree (tnurnberg:1.2689) BUG#31800Tatjana A Nuernberg15 Nov