Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48990 - sandbox/sql_cli/boost/sql_cli/odbc
From: nicola.musatti_at_[hidden]
Date: 2008-09-28 13:19:17


Author: nmusatti
Date: 2008-09-28 13:19:17 EDT (Sun, 28 Sep 2008)
New Revision: 48990
URL: http://svn.boost.org/trac/boost/changeset/48990

Log:
Small bug fix
Text files modified:
   sandbox/sql_cli/boost/sql_cli/odbc/odbc_handle.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/sql_cli/boost/sql_cli/odbc/odbc_handle.hpp
==============================================================================
--- sandbox/sql_cli/boost/sql_cli/odbc/odbc_handle.hpp (original)
+++ sandbox/sql_cli/boost/sql_cli/odbc/odbc_handle.hpp 2008-09-28 13:19:17 EDT (Sun, 28 Sep 2008)
@@ -114,7 +114,7 @@
 template <typename TypeT, SQLSMALLINT KindV>
 state handle<TypeT, KindV>::check_return(SQLRETURN ret, std::string * msg) const
 {
- if ( ret != SQL_SUCCESS && ret == SQL_SUCCESS_WITH_INFO )
+ if ( ret != SQL_SUCCESS && ret != SQL_SUCCESS_WITH_INFO )
     {
         if ( msg != 0 )
             throw error(*msg);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk