summaryrefslogtreecommitdiff
path: root/libodbcpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-01-30 21:06:05 +0000
committerrandomdan <randomdan@localhost>2011-01-30 21:06:05 +0000
commit1a57e45430007fa3109aac55df157df993565f32 (patch)
treeffec4700e3fcb3a5bb6468df0c6f26ce2341bb26 /libodbcpp
parentFix type of bindsize (diff)
downloadlibdbpp-odbc-1a57e45430007fa3109aac55df157df993565f32.tar.bz2
libdbpp-odbc-1a57e45430007fa3109aac55df157df993565f32.tar.xz
libdbpp-odbc-1a57e45430007fa3109aac55df157df993565f32.zip
Fix type of rows counter
Diffstat (limited to 'libodbcpp')
-rw-r--r--libodbcpp/modifycommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/modifycommand.cpp b/libodbcpp/modifycommand.cpp
index 84979e2..a12b9dc 100644
--- a/libodbcpp/modifycommand.cpp
+++ b/libodbcpp/modifycommand.cpp
@@ -24,7 +24,7 @@ ODBC::ModifyCommand::execute(bool anc)
__FUNCTION__);
}
}
- SQLINTEGER rows;
+ SQLLEN rows;
rc = SQLRowCount(hStmt, &rows);
if (!SQL_SUCCEEDED(rc)) {
connection.abortTx();