Pass the type code associated with the object type, as it might be something
other than OCI_TYPECODE_OBJECT.
This commit is contained in:
parent
d03854ccfe
commit
4b4f2ceb18
@ -339,7 +339,7 @@ static int ObjectVar_SetType(
|
||||
// create the object instance
|
||||
status = OCIObjectNew(self->connection->environment->handle,
|
||||
self->connection->environment->errorHandle,
|
||||
self->connection->handle, OCI_TYPECODE_OBJECT,
|
||||
self->connection->handle, self->objectType->typeCode,
|
||||
self->objectType->tdo, NULL, OCI_DURATION_SESSION, TRUE,
|
||||
&instance);
|
||||
if (Environment_CheckForError(self->connection->environment, status,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user