-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG#35707417: Return decimal value losing precision as string
Some values stored in DECIMAL and NUMERIC columns are losing precision when returned back to the client after executing a table query. Although some unsafe values are already returned as a raw string, others are not. This is due to an issue in the decision-making process for when a decimal value should be converted to JavaScript number or not. This patch introduces the changes to address the shortcomings of that decision-making process and ensures all unsafe values (integers or decimals) are not converted to a JavaScript number. Change-Id: Ica4016014a0f437b87e1cc797965eeba82ddfac1
- Loading branch information
1 parent
12daae7
commit 7b531ff
Showing
3 changed files
with
44 additions
and
5 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
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