Skip to content

Commit

Permalink
Update MyTime.cpp
Browse files Browse the repository at this point in the history
pass lint
  • Loading branch information
Meng Xin committed Feb 22, 2022
1 parent 42a69c0 commit 0aed7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Common/MyTime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ Field parseMyDateTime(const String & str, int8_t fsp)
{
// if tz_sign is empty, it's sure that the string literal contains timezone (e.g., 2010-10-10T10:10:10Z),
// therefore we could safely skip this branch.
if (!noAbsorb(seps) && !(tz_minute != "" && tz_sep == ""))
if (!no_absorb(seps) && !(tz_minute != "" && tz_sep == ""))
{
// we can't absorb timezone if there is no separate between tz_hour and tz_minute
if (!tz_hour.empty())
Expand Down

0 comments on commit 0aed7b5

Please sign in to comment.