Bug #28632 | Comparison of DATE columns - difference between 4.1 and 5.0 | ||
---|---|---|---|
Submitted: | 23 May 2007 21:36 | Modified: | 24 May 2007 8:59 |
Reporter: | Nicolas Moldavsky | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | 5.0.41 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | comparison, date |
[23 May 2007 21:36]
Nicolas Moldavsky
[24 May 2007 8:59]
Valeriy Kravchuk
Thank you for a problem report. Sorry, but I was not able to repeat the behaviour described with latest 5.0.44-BK: openxs@suse:~/dbs/5.0> bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.0.44-debug Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> create table a (b date not null); Query OK, 0 rows affected (0.01 sec) mysql> insert into a values ('2007-05-15'); Query OK, 1 row affected (0.01 sec) mysql> select * from a where b >='2007-05-15'; +------------+ | b | +------------+ | 2007-05-15 | +------------+ 1 row in set (0.00 sec) mysql> select * from a where b >='2007-05-15 00:00:00'; +------------+ | b | +------------+ | 2007-05-15 | +------------+ 1 row in set (0.00 sec) So, this bug is already fixed somehow.