IBM / nodejs-idb-connector

A JavaScript (Node.js) library for communicating with Db2 for IBM i, with support for queries, procedures, and much more. Uses traditional callback-style syntax
MIT License
37 stars 23 forks source link

fix: Stop setting error for SQL_NO_DATA_FOUND #139

Closed abmusse closed 3 years ago

abmusse commented 3 years ago

SQLExecute and SQLExecDirect return SQL_NO_DATA_FOUND if the SQL statement is a searched UPDATE or searched DELETE and no rows satisfy the search condition.

Previously this return code was treated as an error.

TODO: Add test cases ensuring errors are no longer set

Fixes #138

abamara commented 3 years ago

I see there was a new version 1.2.11, but this correction doesn't come with it. So I don't understand when it will be delivered ?