Skip to content

Commit 89452c5

Browse files
committed
Fix AIX-specific query failure
1 parent 5e33e83 commit 89452c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dpi/src/dpiStmtImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ DpiStmtType StmtImpl::stmtType () const
155155
OCI_ATTR_STMT_TYPE, errh_), errh_);
156156
}
157157

158-
return stmtType_;
158+
return (DpiStmtType)stmtType_;
159159
}
160160

161161

src/dpi/src/dpiStmtImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class StmtImpl : public Stmt
130130

131131
unsigned int numCols_; // # of cols this stmt execution will return
132132
MetaData *meta_; // Meta data array
133-
DpiStmtType stmtType_; // Statement Type (Query, DML, ... )
133+
unsigned short stmtType_; // Statement Type (Query, DML, ... )
134134
bool isReturning_; // Does the stmt has RETURNING INTO clause?
135135
bool isReturningSet_; // Has isReturning_ flag queried & set.
136136
bool refCursor_; // refCursor or not.

0 commit comments

Comments
 (0)