-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
86106: sql: make round builtin avoid negative zeros r=rafiss a=nnaka2992 fixes #28404 Previously, the round function could return -0. In PostgreSQL, the function returns 0 without a negative sign, so this commit changes the behavior of round to match that. Release note (sql change): The round(decimal) builtin function no longer returns negative 0 for any input. Co-authored-by: nnaka2992 <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters