DBD-Oracle icon indicating copy to clipboard operation
DBD-Oracle copied to clipboard

[feature] populate state from err

Open abraxxa opened this issue 8 years ago • 4 comments

I've written an error handler using HandleSetErr which sets $state based on $err to make Oracle SQLSTATE compatible as OCI doesn't return SQLSTATE since version 8.x (for whatever reason). Are you interested in a patch to make this DBD::Oracle core? This makes DBIx::Error usable with Oracle.

abraxxa avatar Jan 05 '17 15:01 abraxxa

Why not submit a PR?

djzort avatar Apr 23 '18 01:04 djzort

Is this a ‚yes‘?

abraxxa avatar Apr 23 '18 05:04 abraxxa

Please submit the PR and we can have a look at it

djzort avatar Apr 06 '19 03:04 djzort

Admittedly, development on DBD::Oracle has stalled quite a bit for various reasons not worth going in to again. However, if you @abraxxa are still prepared to submit a pull request with your original change and 1 test case that passes I will see it is merged and released.

mjegh avatar Jul 22 '19 17:07 mjegh