diff options
-rw-r--r-- | libodbcpp/modifycommand.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libodbcpp/modifycommand.cpp b/libodbcpp/modifycommand.cpp index 77adfb9..45022b0 100644 --- a/libodbcpp/modifycommand.cpp +++ b/libodbcpp/modifycommand.cpp @@ -18,7 +18,10 @@ ODBC::ModifyCommand::execute(bool anc) } RETCODE rc = SQLExecute(hStmt); if (rc != SQL_SUCCESS) { - if (rc != SQL_NO_DATA || !anc) { + if (rc == SQL_SUCCESS_WITH_INFO) { + // Log info + } + else if (rc != SQL_NO_DATA || !anc) { connection.abortTx(); throw Error(rc, SQL_HANDLE_STMT, hStmt, "%s: SQLExecute", __FUNCTION__); |