-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HandleError receives statement handle, despite the docs #155
Comments
Tue Aug 08 08:29:54 2017 REHSACK [...] cpan.org - Correspondence added Can you please provide a sample code that demonstrates this thesis? Including 'perl -v' output, DBI version etc.? Tue Aug 08 08:29:55 2017 The RT System itself - Status changed from 'new' to 'open' |
Wed Aug 09 04:40:43 2017 TIMB [...] cpan.org - Correspondence added On Tue Aug 08 10:20:08 2017, vsespb wrote:
"the DBI handle being used" means it'll be called with a database handle when the error occurred on a database handle, and called with a statement handle when the error occurred on a statement handle. Some methods might be called on a database handle but internally they create and use a statement handle, such as the select_* methods. I'd be delighted if you can find a case where the above isn't true. Wed Aug 09 04:40:44 2017 TIMB [...] cpan.org - Status changed from 'open' to 'rejected' |
Fri Aug 11 09:07:43 2017 victor [...] vsespb.ru - Correspondence added PoC script (involves inheritance):
Fri Aug 11 09:07:53 2017 victor [...] vsespb.ru - Status changed from 'rejected' to 'open' |
Sun Jan 28 11:30:33 2018 TIMB [...] cpan.org - Correspondence added Thanks for the test case, and sorry for the delay replying. Sun Jan 28 11:30:34 2018 TIMB [...] cpan.org - Status changed from 'open' to 'rejected' |
Sun Jan 28 12:18:28 2018 victor [...] vsespb.ru - Correspondence added On Sun Jan 28 19:30:33 2018, TIMB wrote:
Ok, I understand this. I think this really vague.
I propose changing docs to:
Sun Jan 28 12:19:39 2018 victor [...] vsespb.ru - Status changed from 'rejected' to 'open' |
Transcribed verbatim from CPAN RT#122744, warts and all.
Tue Aug 08 05:20:08 2017 victor [...] vsespb.ru - Ticket created
Subject: HandleError receives statement handle, despite the docs
Docs says HandleError receives DBI handle
but actually sometimes it receives a statement handle (DBI::st).
need to either fix docs or code
The text was updated successfully, but these errors were encountered: