Reported by: Leonildo Costa
{
pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data;
RETCODE rc;
- long row_count = -1;
+ SQLLEN row_count = -1;
PDO_ODBC_HSTMT stmt;
rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &stmt);
RETCODE rc;
pdo_odbc_stmt *S = (pdo_odbc_stmt*)stmt->driver_data;
char *buf = NULL;
- long row_count = -1;
+ SQLLEN row_count = -1;
if (stmt->executed) {
SQLCloseCursor(S->stmt);
typedef struct {
char *data;
unsigned long datalen;
- long fetched_len;
+ SQLLEN fetched_len;
SWORD coltype;
char colname[128];
unsigned is_long;