Hi folks, the $ora_errno and $ora_errstr variables should contain the error code and the error string of the last function call to a oracle-OCI function.
Unfortunately, in the oraperl-emulation of DBD::Oracle 1.14 the above mentioned variables contain the "last" error, regardles of successfully executed function calls. To solve this, the following patch should be applied to oraperl.pm ------ SNIP SNIP -------- 71a72 > 103,104c104,105 < $Oraperl::ora_errno = $h->err; < $Oraperl::ora_errstr = $h->errstr; --- > # $Oraperl::ora_errno = $h->err; > # $Oraperl::ora_errstr = $h->errstr; 219,220c220,221 < *Oraperl::ora_errno = \$DBD::Oracle::err; < *Oraperl::ora_errstr = \$DBD::Oracle::errstr; --- > *Oraperl::ora_errno = \$DBI::err; > *Oraperl::ora_errstr = \$DBI::errstr; ------ SNIP SNIP -------- Regards, Martin -- moving objects GmbH Lottestr. 55 22529 Hamburg fon: +49 40 / 57 205 - 220 fax: +49 40 / 57 205 - 100 email: [EMAIL PROTECTED] ICQ: 142508108
