Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
11.8.3
-
Unexpected results
Description
Run the following statements, which return NULL. However, for the BIGINT UNSIGNED case,
{0000-00-00 00:00:00}is returned.
CREATE TABLE t1 (c1 TINYINT UNSIGNED); |
INSERT INTO t1 VALUES (18); |
SELECT (nullif((CAST(0 AS DATETIME)), c1)) FROM t1; -- {NULL} |