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)
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.