Bug #5720 Coercibility of CONVERT function is 2, should be 3
| Submitted: | 23 Sep 2004 14:26 | Modified: | 1 Oct 2004 15:27 |
|---|---|---|---|
| Reporter: | Alexander M. Turek | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.1.5 | OS: | Linux (Linux 2.6.8.1) |
| Assigned to: | Peter Gulutzan | CPU Architecture: | Any |
[23 Sep 2004 14:26]
Alexander M. Turek
[26 Sep 2004 21:33]
Alexander M. Turek
Oops, a small but fatal typo: Of course I meant that CONVERT should have a coercibility of _3_ in order to be consistant.
[1 Oct 2004 15:27]
Peter Gulutzan
It's sensible to ask for consistency, but in the case of CONVERT we felt obliged to follow the SQL-99 standard document, which says: "The result [of conversion] has the Implicit coercibility characteristic ...". We use (2) as a code for Implicit. It's the same coercibility as for columns. So I believe (2) is okay. The manual section actually say "It's complex, but the following rules take care of most situations: ...". This happens to be one of the complex exceptions.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 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.