Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
5.5, 10.1, 10.2, 10.3, 10.4
-
None
Description
Here are funny casts https://godbolt.org/z/K6Rvnc
It could happen here https://github.com/mariadb/server/blob/10.1/sql/sql_time.cc#L406 and here https://github.com/mariadb/server/blob/10.1/include/my_time.h#L122
I wasn't able to write a test and found these bugs by reading the code.