[typo](comment) Fix a lot of spell errors in be comments (#14208)

fix typos.
This commit is contained in:
xy720
2022-11-12 16:06:15 +08:00
committed by GitHub
parent bf79805a66
commit 035657c5a1
62 changed files with 92 additions and 92 deletions

View File

@ -1451,7 +1451,7 @@ bool DateTimeValue::from_date_format_str(const char* format, int format_len, con
}
// 1. already_set_date_part means _year, _month, _day be set, so we only set time part
// 2. already_set_time_part means _hour, _minute, _second, _microsecond be set,
// so we only neet to set date part
// so we only need to set date part
// 3. if both are true, means all part of date_time be set, no need check_range_and_set_time
bool already_set_date_part = yearday > 0 || (week_num >= 0 && weekday > 0);
if (already_set_date_part && already_set_time_part) return true;