Skip to content

Commit 1368038

Browse files
committed
oracle provider: fix binding of output values
1 parent e9b4b0c commit 1368038

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
@@ -662,6 +662,7 @@ int QOCISpatialResultPrivate::bindValue( OCIStmt *sql, OCIBind **hbnd, OCIError
662662
ba.data(),
663663
ba.capacity(),
664664
SQLT_STR, indPtr, tmpSize, 0, 0, 0, OCI_DEFAULT );
665+
tmpStorage.append( ba );
665666
}
666667
else
667668
{
@@ -673,7 +674,6 @@ int QOCISpatialResultPrivate::bindValue( OCIStmt *sql, OCIBind **hbnd, OCIError
673674
}
674675
if ( r == OCI_SUCCESS )
675676
setCharset( *hbnd, OCI_HTYPE_BIND );
676-
tmpStorage.append( ba );
677677
break;
678678
} // default case
679679
} // switch

0 commit comments

Comments
 (0)