Skip to content
Permalink
Browse files

oracle provider: fix binding of output values

  • Loading branch information
jef-n committed Jul 23, 2016
1 parent e9b4b0c commit 1368038ca93ce923cae7f507f5f387690a2f3136
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 1368038

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