-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numeric overflow incorrectly handled in thick mode #1659
Comments
@mrfitz42 Thank you for reporting this issue. |
Yes, version 5.0.0 exhibited the same behavior.
Thin mode exhibits odd behavior at the Oracle numeric limit:
Even stranger, SQL Developer then shows the float64 columns as |
Thanks @mrfitz42. We had identified a similar issue internally and it will be fixed in the upcoming release. |
…le out of bound number is given (Issue #1659)
This is fixed in the 6.5.0 release. @mrfitz42 Please check. |
This did fix thick mode, thank you. It now results in two error codes: NJS-115 and DPI-1044.
Thin mode still has an issue with values just past the Oracle limits:
|
@mrfitz42 We will fix the Thin mode issue in the next release. |
@mrfitz42 Here is the patch for the Thin mode fix:
|
@mrfitz42 We have fixed the Thin mode issue in 6.5.1. Please verify and thank you for contributing! |
Fixed in thin mode too. Thank you. Running in thick mode |
What versions are you using?
database version: Oracle 19c Enterprise edition version 19.21.0.0.0
process.platform: 'linux'
process.version: 'v20.11.0'
process.arch: 'x64'
require('oracledb').versionString: '6.4.0'
require('oracledb').oracleClientVersionString: undefined
Is it an error or a hang or a crash? No
What error(s) or behavior you are seeing?
Do not get expected ORA-01426 errors in thick mode. Do see NJS-115 errors in thin mode.
CREATE TABLE no_example (id NUMBER, float64_1 NUMBER, float64_2 NUMBER)
The text was updated successfully, but these errors were encountered: