Skip to content

Commit

Permalink
oracle provider: fix binding of output values
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 23, 2016
1 parent e9b4b0c commit 1368038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/ocispatial/qsql_ocispatial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ int QOCISpatialResultPrivate::bindValue( OCIStmt *sql, OCIBind **hbnd, OCIError
ba.data(),
ba.capacity(),
SQLT_STR, indPtr, tmpSize, 0, 0, 0, OCI_DEFAULT );
tmpStorage.append( ba );
}
else
{
Expand All @@ -673,7 +674,6 @@ int QOCISpatialResultPrivate::bindValue( OCIStmt *sql, OCIBind **hbnd, OCIError
}
if ( r == OCI_SUCCESS )
setCharset( *hbnd, OCI_HTYPE_BIND );
tmpStorage.append( ba );
break;
} // default case
} // switch
Expand Down

0 comments on commit 1368038

Please sign in to comment.