Bug #117245 | Get incorrect result when comparing TIME type with IN value list that contains NULL | ||
---|---|---|---|
Submitted: | 20 Jan 9:58 | Modified: | 20 Jan 11:27 |
Reporter: | Menghong Huang | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | IN clause, null, time |
[20 Jan 9:58]
Menghong Huang
[20 Jan 11:27]
MySQL Verification Team
Hi Mr. Huang, Thank you for your bug report. We tested your example with 8.0.40. A queries of the type: x IN (a,b,c,d...) are always resolved as : x = a OR x = b OR x = c ....... Any expression of the type: x = NULL should resolve as NULL and should not be counted. We have also tried with table where both data types had full lengths and we have again repeated your results. Hence, this is a bug in the version 8.0 and all higher higher versions. Verified as reported. However,