Skip to content

Commit 214935e

Browse files
committed
Enable RAW OUT binds
1 parent 625e784 commit 214935e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/njs/src/njsConnection.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,6 @@ void Connection::GetOutBindParams (unsigned short dataType, Bind* bind,
676676
break;
677677
case DATA_BUFFER :
678678
bind->type = dpi::DpiRaw;
679-
bind->maxSize = 0;
680679
break;
681680
case DATA_CLOB :
682681
bind->type = dpi::DpiClob;
@@ -3132,6 +3131,10 @@ void Connection::cbDynBufferAllocate ( void *ctx, bool dmlReturning,
31323131
case dpi::DpiRSet:
31333132
bind->value = executeBaton->dpiconn->getStmt ();
31343133
break;
3134+
3135+
case dpi::DpiRaw:
3136+
bind->value = (void *)malloc ( bind->maxSize ) ;
3137+
break;
31353138
}
31363139
}
31373140

0 commit comments

Comments
 (0)