Skip to content

Commit

Permalink
Attempt to fix build problems on rhel5
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrinn committed Jan 17, 2017
1 parent b2f32ca commit db72181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ma_odbc.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ struct st_ma_odbc_stmt
int PutParam;
my_bool RebindParams;
my_bool bind_done;
SQLBIGINT AffectedRows;
long long AffectedRows;
unsigned long *CharOffset;
unsigned long *Lengths;
char *TableName;
Expand Down
4 changes: 2 additions & 2 deletions ma_statement.c
Original file line number Diff line number Diff line change
Expand Up @@ -2589,7 +2589,7 @@ SQLRETURN MADB_StmtGetData(SQLHSTMT StatementHandle,
case SQL_WLONGVARCHAR:
{
char *ClientValue;
size_t CharLength= 0, SrcLength;
SQLULEN CharLength= 0, SrcLength;

if (!(ClientValue = (char *)MADB_CALLOC(Stmt->stmt->fields[Offset].max_length + 1)))
{
Expand Down Expand Up @@ -3800,7 +3800,7 @@ SQLRETURN MADB_RefreshDynamicCursor(MADB_Stmt *Stmt)
{
SQLRETURN ret;
SQLLEN CurrentRow= Stmt->Cursor.Position;
SQLBIGINT AffectedRows= Stmt->AffectedRows;
long long AffectedRows= Stmt->AffectedRows;
SQLLEN LastRowFetched= Stmt->LastRowFetched;

ret= Stmt->Methods->Execute(Stmt, FALSE);
Expand Down

0 comments on commit db72181

Please sign in to comment.