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

0 comments on commit d0de77a

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