| Bug #119087 | Incorrect result for subquery with BIGINT UNSIGNED | ||
|---|---|---|---|
| Submitted: | 28 Sep 5:54 | Modified: | 11 Oct 3:24 |
| Reporter: | zz z | Email Updates: | |
| Status: | Open | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 9.4.0 8.4.6 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[28 Sep 5:54]
zz z
[29 Sep 1:38]
zz z
mysql> explain SELECT * FROM t4 WHERE (95 < ALL (SELECT c4 FROM t4));
+----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+-------+
| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
+----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+-------+
| 1 | PRIMARY | t4 | NULL | ALL | NULL | NULL | NULL | NULL | 2 | 100.00 | NULL |
| 2 | SUBQUERY | t4 | NULL | ALL | NULL | NULL | NULL | NULL | 2 | 100.00 | NULL |
+----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+-------+
2 rows in set, 1 warning (0.00 sec)
mysql> show warnings
-> ;
+-------+------+----------------------------------------------------------------------------+
| Level | Code | Message |
+-------+------+----------------------------------------------------------------------------+
| Note | 1003 | /* select#1 */ select `test`.`t4`.`c4` AS `c4` from `test`.`t4` where true |
+-------+------+----------------------------------------------------------------------------+
1 row in set (0.00 sec)
[7 Oct 1:04]
MySQL Verification Team
Thanks for the report and the test case.
