Permalink
Browse files

fix for issue 157

  • Loading branch information...
1 parent 7580498 commit 1f9b426b6525089cf37d820380082ea56a757cad @vikram committed May 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/getdata.cpp
View
@@ -464,8 +464,8 @@ GetDataLong(Cursor* cur, Py_ssize_t iCol)
{
ColumnInfo* pinfo = &cur->colinfos[iCol];
- long value = 0;
- SQLLEN cbFetched = 0;
+ SQLINTEGER value;
+ SQLLEN cbFetched;
SQLRETURN ret;
SQLSMALLINT nCType = pinfo->is_unsigned ? SQL_C_ULONG : SQL_C_LONG;

0 comments on commit 1f9b426

Please sign in to comment.