Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
oracle provider: fix binding of output values
(cherry picked from commit 1368038)
  • Loading branch information
jef-n committed Jul 23, 2016
1 parent c78683b commit 14bd65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/ocispatial/qsql_ocispatial.cpp
Expand Up @@ -658,6 +658,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 @@ -669,7 +670,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 14bd65c

Please sign in to comment.