Bug #103458 PREPARE type checking error
| Submitted: | 23 Apr 2021 15:22 | Modified: | 21 Jun 2021 14:43 |
|---|---|---|---|
| Reporter: | Sébastien F. | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Prepared statements | Severity: | S3 (Non-critical) |
| Version: | 8.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[23 Apr 2021 15:22]
Sébastien F.
[23 Apr 2021 16:04]
Sébastien F.
Bug present on 8.0.23 and 8.0.24
[23 Apr 2021 16:50]
Roy Lyseng
An empty string is not a valid date, so this should not be considered a bug.
[23 Apr 2021 17:47]
Sébastien F.
> An empty string is not a valid date, so this should not be considered a bug. Absolutely, that's why I use NULLIF() to compare the param and an empty string, so NULL or a valid date will be SET.
[26 Apr 2021 13:38]
MySQL Verification Team
Hi Mr. F., Thank you for your bug report. This is indeed a regression bug in 8.0.24. Verified as reported.
[21 Jun 2021 14:43]
Paul DuBois
Posted by developer: Fixed in 8.0.27. In prepared statements, NULLIF() result type determination could be incorrect.
[28 Jun 2021 11:41]
MySQL Verification Team
Thank you, Paul.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 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.