Below is the list of changes that have just been committed into a local
5.0 repository of evgen. When evgen 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.2008 05/06/24 21:47:17 evgen@stripped +2 -0
Merge
mysql-test/t/view.test
1.75 05/06/24 21:47:16 evgen@stripped +0 -0
SCCS merged
mysql-test/r/view.result
1.87 05/06/24 21:47:16 evgen@stripped +0 -0
SCCS merged
# 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: evgen
# Host: moonbone.local
# Root: /work/mysql-5.0-bug-11325/RESYNC
--- 1.86/mysql-test/r/view.result 2005-06-24 01:24:08 +04:00
+++ 1.87/mysql-test/r/view.result 2005-06-24 21:47:16 +04:00
@@ -1831,6 +1831,17 @@
t
01:00
drop view v1;
+create table t1 (f1 date);
+insert into t1 values ('2005-01-01'),('2005-02-02');
+create view v1 as select * from t1;
+select * from v1 where f1='2005.02.02';
+f1
+2005-02-02
+select * from v1 where '2005.02.02'=f1;
+f1
+2005-02-02
+drop view v1;
+drop table t1;
CREATE VIEW v1 AS SELECT ENCRYPT("dhgdhgd");
SELECT * FROM v1;
drop view v1;
--- 1.74/mysql-test/t/view.test 2005-06-24 01:24:08 +04:00
+++ 1.75/mysql-test/t/view.test 2005-06-24 21:47:16 +04:00
@@ -1675,6 +1675,17 @@
drop view v1;
#
+# bug #11325 Wrong date comparison in views
+#
+create table t1 (f1 date);
+insert into t1 values ('2005-01-01'),('2005-02-02');
+create view v1 as select * from t1;
+select * from v1 where f1='2005.02.02';
+select * from v1 where '2005.02.02'=f1;
+drop view v1;
+drop table t1;
+
+#
# using encrypt & substring_index in view (BUG#7024)
#
CREATE VIEW v1 AS SELECT ENCRYPT("dhgdhgd");
| Thread |
|---|
| • bk commit into 5.0 tree (evgen:1.2008) | eugene | 27 Jun |