File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -11229,14 +11229,8 @@ impl<'a> Parser<'a> {
1122911229 }
1123011230 }
1123111231
11232- /// Parse a scale value for NUMERIC/DECIMAL data types.
11233- ///
11234- /// Supports positive, negative, and explicitly positive (with `+`) scale values.
11235- /// Negative scale values are particularly useful for PostgreSQL, where they indicate
11236- /// rounding to the left of the decimal point. For example:
11237- /// - `NUMERIC(5, 2)` stores up to 5 digits with 2 decimal places (e.g., 123.45)
11238- /// - `NUMERIC(5, -2)` stores up to 5 digits rounded to hundreds (e.g., 12300)
11239- fn parse_scale_value(&mut self) -> Result<i64, ParserError> {
11232+ /// Parse an optionally signed integer literal.
11233+ fn parse_signed_integer(&mut self) -> Result<i64, ParserError> {
1124011234 let next_token = self.next_token();
1124111235 match next_token.token {
1124211236 Token::Number(s, _) => Self::parse::<i64>(s, next_token.span.start),
You can’t perform that action at this time.
0 commit comments