MDEV-16971 Assertion `is_valid_value_slow()' failed in Time::adjust_time_range_or_invalidate
The patch for MDEV-16928 added a few new asserts to check that time, date, datetime values are valid and consistent after initialization. One of the new asserts caught an improper initialization in Time::make_from_datetime_with_days_diff() (the former function calc_datetime_days_diff()). If the YYYYMM part is not zero after unpack time we have an out-of-range TIME value.
Showing
Please register or sign in to comment