oracle



Hi all!

I've just checked in the new oracle provider. It is complete (as the old
one was), but I'm having problems when executing a command. So, if
there's somebody here who knows well the OCI API, please have a look at
it (Stephan?).

What happens is, in gda-oracle-command.c, in gda_oracle_command_new, the
call:

	/* initialize Oracle command */
      if (OCI_SUCCESS != OCIHandleAlloc((CONST dvoid *)
ora_cmd->ora_cnc->henv,
                                        (dvoid **) &ora_cmd->hstmt,
                                        OCI_HTYPE_STMT,
                                        (size_t) 0,
                                        (dvoid **) NULL))

always fails! I've been looking at some examples, and I've seen nothing
wrong in this.

Cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]