Skip to content

Added SQLState 22005 to driver conversion exceptions#2185

Merged
tkyc merged 2 commits intomainfrom
issue-2167
Aug 17, 2023
Merged

Added SQLState 22005 to driver conversion exceptions#2185
tkyc merged 2 commits intomainfrom
issue-2167

Conversation

@tkyc
Copy link
Copy Markdown
Contributor

@tkyc tkyc commented Aug 4, 2023

Fix for #2167.

Driver by default returns SQL-99 state codes. If xopenStates is set to true, driver will return X\Open state codes. SQLState code 22005 is the same in both value and meaning for SQL-99 and X\Open standards.

SQL-99 source: https://github.com/crate/sql-99/blob/main/docs/chapters/47.rst

X\Open source: xopen_sql_states.pdf

@lilgreenbird lilgreenbird added this to the 12.5.0 milestone Aug 17, 2023
@tkyc tkyc merged commit 89e6094 into main Aug 17, 2023
@tkyc tkyc deleted the issue-2167 branch August 17, 2023 20:20
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.

3 participants