Fix style

This commit is contained in:
Robert Schulze 2023-04-05 10:43:55 +00:00
parent 0d5d2a9b55
commit a59b53775c
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -1040,7 +1040,8 @@ namespace
checkSpace(cur, end, 6, "mysqlMicrosecond requires size >= 6", fragment); checkSpace(cur, end, 6, "mysqlMicrosecond requires size >= 6", fragment);
Pos start = cur; Pos start = cur;
auto check_is_number = [&](Pos pos) { auto check_is_number = [&](Pos pos)
{
if (*pos < '0' || *pos > '9') if (*pos < '0' || *pos > '9')
throw Exception( throw Exception(
ErrorCodes::CANNOT_PARSE_DATETIME, ErrorCodes::CANNOT_PARSE_DATETIME,