Skip to content

Commit 54b3d51

Browse files
committed
Fixed logic in Descr2protoILob when deleting ProtoILobs in the case of an error
1 parent e8f20b8 commit 54b3d51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/njs/src/njsConnection.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2428,9 +2428,9 @@ void Connection::Descr2protoILob( eBaton *executeBaton, unsigned int numCols,
24282428

24292429
for (unsigned int i = 0; i < col; i++)
24302430
{
2431-
if ((defines[col].fetchType == DpiClob) ||
2432-
(defines[col].fetchType == DpiBlob) ||
2433-
(defines[col].fetchType == DpiBfile))
2431+
if ((defines[i].fetchType == DpiClob) ||
2432+
(defines[i].fetchType == DpiBlob) ||
2433+
(defines[i].fetchType == DpiBfile))
24342434
{
24352435
for (unsigned int j = 0; j < executeBaton->rowsFetched; j++)
24362436
{

0 commit comments

Comments
 (0)