Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
11.8.3
Description
Run the following two cases.
-- case 1
|
CREATE TABLE t1 (c1 INT); |
INSERT INTO t1 VALUES (12080247); |
SELECT (c1 = (CAST(0 AS TIME))) FROM t1; -- {1}, expected: {0} |
-- case 2
|
CREATE TABLE t1 (c1 BIGINT); |
INSERT INTO t1 VALUES (12080247); |
SELECT (c1 = (CAST(0 AS TIME))) FROM t1; -- {0} |
I think that case 2 is correct.
Attachments
Issue Links
- relates to
-
MDEV-4837 Comparing a TIME value with an illegal time representation returns TRUE
-
- Confirmed
-