Bug #501 | casting to date does not work properly | ||
---|---|---|---|
Submitted: | 25 May 2003 17:02 | Modified: | 30 Sep 2008 8:41 |
Reporter: | Christian Hammers (Silver Quality Contributor) (OCA) | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 4.0.13 | OS: | Linux (Debian GNU/Linux) |
Assigned to: | CPU Architecture: | Any |
[25 May 2003 17:02]
Christian Hammers
[26 May 2003 6:17]
Alexander Keremidarski
Please see comments for #498 which is same issue.
[30 Sep 2008 8:41]
Konstantin Osipov
This appears to be fixed, at least in 6.0.8.
[30 Sep 2008 8:42]
Konstantin Osipov
mysql> select cast(now() as date); +---------------------+ | cast(now() as date) | +---------------------+ | 2008-09-30 | +---------------------+ 1 row in set (0.00 sec) mysql> select version(); +--------------------------------+ | version() | +--------------------------------+ | 6.0.8-alpha-valgrind-max-debug | +--------------------------------+ 1 row in set (0.00 sec)