Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.41, 10.0.17, 5.5(EOL), 10.0(EOL), 10.1(EOL)
-
None
-
Debian Squeeze x64
-
5.5.47-1
Description
INSERT INTO ... |
SELECT ... |
GREATEST( COALESCE(`inspection`.`ts`, 0), COALESCE(`inspection_details`.`ts`, 0), COALESCE(`open_time_reason`.`ts`, 0) |
) AS `changed_at` |
ON DUPLICATE KEY UPDATE ... |
`changed_at` = VALUES(`changed_at`) |
In MySQL the changed_at will be the expected value from the greatest function, but in MariaDB it will be '0000-00-00 00:00:00'