Skip to content
Permalink
Browse files

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 14bd65cd7ed1628a925b26041726e50cc3a63722
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/ocispatial/qsql_ocispatial.cpp
@@ -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
{
@@ -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

0 comments on commit 14bd65c

Please sign in to comment.
You can’t perform that action at this time.