Details
-
Bug
-
Status: In Testing (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.8.3
-
None
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} |