diff options
author | randomdan <randomdan@localhost> | 2010-08-08 17:24:19 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-08-08 17:24:19 +0000 |
commit | cea2b1e867ea67619e03d15a992b28800e8765c9 (patch) | |
tree | a5d6a1fbb848c17f1abfd699c05542f2b402a1f4 | |
parent | Cache the result of default column compose (diff) | |
download | libdbpp-odbc-cea2b1e867ea67619e03d15a992b28800e8765c9.tar.bz2 libdbpp-odbc-cea2b1e867ea67619e03d15a992b28800e8765c9.tar.xz libdbpp-odbc-cea2b1e867ea67619e03d15a992b28800e8765c9.zip |
Tidy up hierarchy
Add SqlMergeTask
-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__); |