Details
Description
This query crashes the server (debug build):
SELECT CONVERT_TZ(GREATEST(DATE('2021-00-00'),DATE('2021-00-00')),'+00:00','+7:5');
So does this one:
SELECT CONVERT_TZ(GREATEST(TIMESTAMP('2021-00-00'),TIMESTAMP('2021-00-00')),'+00:00','+7:5');
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
#4 tztime.cc:799: my_time_t sec_since_epoch(int, int, int, int, int, int): Assertion `mon > 0 && mon < 13' failed
#5 0x00000000006df9f9 in Time_zone_offset::TIME_to_gmt_sec (this=0x2887d40,
t=0x7fffcc2e92f0, error_code=0x7fffcc2e9324)
at /home/bar/maria-bzr/maria-10.0-connect/sql/tztime.cc:1385
#6 0x00000000006dc801 in TIME_to_timestamp (thd=0x2b1b920, t=0x7fffcc2e92f0,
error_code=0x7fffcc2e9324)