Re: implementation of bind_param_inout for DBD::ADO
- From: sgoeldner@xxxxxxxx (Steffen Goeldner)
- Date: Tue, 17 Mar 2009 10:57:24 +0100
Peter Mei wrote:
Here's a working implementation of bind_param_inout, with explicit support
for the adCmdStoredProc command type. It's been deployed in a production
environment for over half a year, now, without incident, so I'm comfortable
subjecting the public to any remaining bugs.
I've added the 'ado_ParamRefs' and 'ado_ParamRefAttrs' hash attributes to
the statement handle in order to support delayed-binding. Scalar references
may be bound at any point, but will not be dereferenced until execute() is
called. 'ado_returnvalue' now receives the return value of a stored
procedure call. I've also supplemented the perldocs with basic
bind_param_inout usage.
I've tried to conform as closely as possible to the coding style and
standard DBI implementation practices. The patch is a unified diff of
ADO.pm, with 7 lines of context (to minimize chunk count). Hope it's an
easy review!
Thank you very much - looks good at first sight!
I've got a few more failed tests (19misc.t, 29timeout.t),
but I think I can resolve this.
I'll prepare a new release soonish.
Steffen
.
- References:
- implementation of bind_param_inout for DBD::ADO
- From: Peter Mei
- implementation of bind_param_inout for DBD::ADO
- Prev by Date: csv insert leading zeros
- Next by Date: core dump when using dbd oracle under solaris10 x86
- Previous by thread: implementation of bind_param_inout for DBD::ADO
- Next by thread: qry:
- Index(es):
Relevant Pages
|