Skip to content

Commit 3850b65

Browse files
committed
Fix AIX-specific crash with DML RETURNING
1 parent cfbf038 commit 3850b65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dpi/src/dpiStmtImpl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ sb4 StmtImpl::outbindCallback ( dvoid *ctxp, OCIBind *bindp, ub4 iter,
630630
ub1 *piecep, dvoid **indpp, ub2 **rcodepp )
631631
{
632632
DpiCallbackCtx *cbCtx = (DpiCallbackCtx *)ctxp;
633-
unsigned long rows = 0;
633+
ub4 rows = 0;
634634
int cbret = 0;
635635

636636
if ( index == 0 )
@@ -654,7 +654,7 @@ sb4 StmtImpl::outbindCallback ( dvoid *ctxp, OCIBind *bindp, ub4 iter,
654654
ociCall ( rc, errh ) ;
655655
}
656656

657-
cbCtx->nrows = rows;
657+
cbCtx->nrows = ( unsigned long ) rows;
658658
cbCtx->iter = iter;
659659
}
660660

0 commit comments

Comments
 (0)