Skip to content

Commit 14bd65c

Browse files
committedJul 23, 2016
oracle provider: fix binding of output values
(cherry picked from commit 1368038)
1 parent c78683b commit 14bd65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/oracle/ocispatial/qsql_ocispatial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ int QOCISpatialResultPrivate::bindValue( OCIStmt *sql, OCIBind **hbnd, OCIError
658658
ba.data(),
659659
ba.capacity(),
660660
SQLT_STR, indPtr, tmpSize, 0, 0, 0, OCI_DEFAULT );
661+
tmpStorage.append( ba );
661662
}
662663
else
663664
{
@@ -669,7 +670,6 @@ int QOCISpatialResultPrivate::bindValue( OCIStmt *sql, OCIBind **hbnd, OCIError
669670
}
670671
if ( r == OCI_SUCCESS )
671672
setCharset( *hbnd, OCI_HTYPE_BIND );
672-
tmpStorage.append( ba );
673673
break;
674674
} // default case
675675
} // switch

0 commit comments

Comments
 (0)
Please sign in to comment.