Details
Description
Testcase:
CREATE TABLE t1 (a YEAR(2)); |
INSERT INTO t1 VALUES (0); |
SELECT a, NULLIF(a,2001), NULLIF(2001,a) FROM t1; |
DROP TABLE t1; |
Expected result:
a NULLIF(a,2001) NULLIF(2001,a) |
00 00 2001
|
Actual result:
a NULLIF(a,2001) NULLIF(2001,a) |
00 0 2001
|
Attachments
Issue Links
- relates to
-
MDEV-31005 Make working cursor-protocol
- Stalled