Hi,
I think it would be helpful to pass the NativeError as third parameter to
odbc_err_handler.
AFAIK this variable contains the numerical representation of a
error/warning, so it is
more suitable for further processing than regex matching againt the error
string.

patch to the dbdimp.c file is then:
------------------ SNIP SNIP ---------
890c890
<
---
>              XPUSHs(sv_2mortal(newSViv((IV)NativeError)));
------------------ SNIP SNIP ---------

Regards,
Martin


Reply via email to