Skip to content

Commit

Permalink
Fix a dead loop
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Nov 29, 2024
1 parent 03356df commit 029bb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/functions/sparksql/JsonFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ struct GetJsonObjectFunction {
// These chars can be prior to a valid ending char.
if (endingChar == ' ' || endingChar == '\r' || endingChar == '\n' ||
endingChar == '\t') {
return isValidEndingCharacter(currentPos++);
return isValidEndingCharacter(++currentPos);
}
return false;
}
Expand Down

0 comments on commit 029bb9e

Please sign in to comment.