Bug #2335 Inconsistancy with handling of Years and NOW() function
| Submitted: | 9 Jan 2004 8:27 | Modified: | 11 Jan 2004 23:43 |
|---|---|---|---|
| Reporter: | Martin Pollard | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.0.17 | OS: | Windows (WinXP) |
| Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
[9 Jan 2004 8:27]
Martin Pollard
[9 Jan 2004 8:33]
Dean Ellis
Verified against 4.0.18 and 4.1.2, noting the manual's comment, "As the result of a function that returns a value that is acceptable in a YEAR context, such as NOW()" from the "YEAR Type" chapter, which implies that this should work. CREATE TABLE dtest ( a DATE ); INSERT INTO dtest VALUES ( NOW() ); SELECT * FROM dtest WHERE a = NOW(); ALTER TABLE dtest MODIFY a YEAR; SELECT * FROM dtest WHERE a = NOW(); DROP TABLE dtest;
[11 Jan 2004 23:43]
Ramil Kalimullin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.038 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.