Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
CREATE OR REPLACE TABLE t1 (a TIMESTAMP(3) DEFAULT CURRENT_TIMESTAMP); |
INSERT INTO t1 VALUES ('2019-02-23 11:31:04'),('2023-02-09 00:00:00'); |
SELECT CASE WHEN a THEN DEFAULT(a) END FROM t1; |
+---------------------------------+
|
| CASE WHEN a THEN DEFAULT(a) END |
|
+---------------------------------+
|
| 2058-01-24 15:14:45.999 |
|
| 2058-01-24 15:14:45.999 |
|
+---------------------------------+
|
Attachments
Issue Links
- relates to
-
MDEV-21637 Assertion `!is_valid_datetime() || fraction_remainder(((item->decimals) < (6) ? (item->decimals) : (6))) == 0' failed in Datetime_truncation_not_needed::Datetime_truncation_not_needed
- Closed