Skip to content

Commit

Permalink
comments resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Parikshit Sarode committed Dec 29, 2023
1 parent efdd266 commit 9f1ef7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/babelfishpg_tsql/runtime/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ datepart_internal_smallmoney(PG_FUNCTION_ARGS)
{
ereport(ERROR,
(errcode(ERRCODE_DATETIME_VALUE_OUT_OF_RANGE),
errmsg("Arithmetic overflow error for data type smallmoney, value = %f.",num)));
errmsg("Arithmetic overflow error converting expression to data type datetime.")));
}

/*
Expand Down
2 changes: 1 addition & 1 deletion test/JDBC/expected/BABEL_4302.out
Original file line number Diff line number Diff line change
Expand Up @@ -5699,7 +5699,7 @@ GO
int
~~ERROR (Code: 33557097)~~

~~ERROR (Message: Arithmetic overflow error for data type smallmoney, value = -53691.000000.)~~
~~ERROR (Message: Arithmetic overflow error converting expression to data type datetime.)~~


SELECT DATEPART(day, CAST(-53690 AS int));
Expand Down

0 comments on commit 9f1ef7d

Please sign in to comment.