Skip to content
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

Add DPI error codes for Oracle #4536

Merged
merged 2 commits into from Jul 12, 2021
Merged

Add DPI error codes for Oracle #4536

merged 2 commits into from Jul 12, 2021

Conversation

vpeltola
Copy link
Contributor

Add DPI-1010 and DPI-1080 error codes required for oracledb >=5.2.0

Add DPI-1010 and DPI-1080 required for oracledb >=5.2.0
@kibertoad
Copy link
Collaborator

@cjbj Does this look correct?

@kibertoad kibertoad changed the title Update lib/dialects/oracle/utils.js Add DPI error codes Jul 11, 2021
@kibertoad kibertoad changed the title Add DPI error codes Add DPI error codes for Oracle Jul 11, 2021
@cjbj
Copy link

cjbj commented Jul 11, 2021

@kibertoad by eyeball, it seems fine. The full error number list is a bit over-the-top (and wouldn't be needed for new code that targets node-oracledb 5.2+), but if this case statement is only checked on error conditions, there isn't any harm.

I would question whether NJS-040 should be on the list - there is no connection in this case.

@kibertoad
Copy link
Collaborator

@vpeltola Can you drop the NJS-040?

Removed NJS-040 based on request by @kibertoad and @cjbj
@vpeltola
Copy link
Contributor Author

Removed NJS-040 as requested.

@kibertoad kibertoad merged commit f447b3b into knex:master Jul 12, 2021
@kibertoad
Copy link
Collaborator

Thanks!

@vpeltola vpeltola deleted the issue-4535 branch July 14, 2021 18:18
@kibertoad
Copy link
Collaborator

Released in 0.95.8

OlivierCavadenti pushed a commit to AbeonaPascha/knex that referenced this pull request Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants