Bug #108098 | double unsigned use key select result error | ||
---|---|---|---|
Submitted: | 9 Aug 2022 15:49 | Modified: | 10 Aug 2022 1:41 |
Reporter: | haizhen xue | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S5 (Performance) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[9 Aug 2022 15:49]
haizhen xue
[9 Aug 2022 17:19]
MySQL Verification Team
Hi Mr. xue, Thank you for your bug report. However, this is not a bug. These are the reasons why ..... expr1 is true and expr2 is not NULL, hence expr2 is returned. However, since t1.c0 is unsigned double, it is converted to 0 and which matched the only entry in the table ..... Not a bug.
[10 Aug 2022 0:50]
haizhen xue
if type double do not use unsgined attribute, select sql return empty.
[10 Aug 2022 1:41]
haizhen xue
it is not a bug, As of MySQL 8.0.17, the UNSIGNED attribute is deprecated for columns of type FLOAT, DOUBLE, and DECIMAL (and any synonyms); if create table use unsigned, We'd like to report an warnning.