Skip to content

Resolve fetchall() does not return error even though the select statement should hit SQL0137N error#987

Merged
bimalkjha merged 1 commit intoibmdb:masterfrom
bchoudhary6415:ibmdb_work
Jan 28, 2025
Merged

Resolve fetchall() does not return error even though the select statement should hit SQL0137N error#987
bimalkjha merged 1 commit intoibmdb:masterfrom
bchoudhary6415:ibmdb_work

Conversation

@bchoudhary6415
Copy link
Copy Markdown
Collaborator

Resolved issue for fetchall() does not return error even though the select statement should hit SQL0137N error.
for the CRM - https://jira.rocketsoftware.com/browse/DBC-16605

This update modifies the behavior of the fetchall() method in the ibm_db_dbi module. From now on, if there is an error in any of the rows during the fetch operation, the method will raise an error instead of returning a list of rows that do not have any errors. This change ensures that any issues encountered while fetching data are promptly raised, rather than silently skipping over problematic rows.

Signed-off-by: Balram Choudhary <bchoudhary@rocketsoftware.com>
@bimalkjha bimalkjha merged commit 87d42f7 into ibmdb:master Jan 28, 2025
@bchoudhary6415 bchoudhary6415 deleted the ibmdb_work branch January 29, 2025 04:21
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.

2 participants