Re: Named bind params with DBD::Proxy

2004-10-22 Thread Scott T. Hildreth
I was going bring this up myself. I had this problem the other day. To get it working I changed the param names to :p1, :p2, ...etc and used $sth->bind_param(1, 'foo'). For the return param I had to use the a :p? as well, i.e. my $sth = $dbh->prepare(q{ BEGIN

Re: Named bind params with DBD::Proxy

2004-10-21 Thread Tim Bunce
On Fri, Oct 22, 2004 at 07:34:38AM +1000, Steve Baldwin wrote: > We make extensive use of named bind params in our apps (our DB is Oracle). > I just tried running a test program over DBD::Proxy and found it barfs on > these. Here is the code in DBD::Proxy that doesn't like them . > > sub bind_par

Named bind params with DBD::Proxy

2004-10-21 Thread Steve Baldwin
We make extensive use of named bind params in our apps (our DB is Oracle). I just tried running a test program over DBD::Proxy and found it barfs on these. Here is the code in DBD::Proxy that doesn't like them . sub bind_param ($$$@) { my $sth = shift; my $param = shift; $sth->{'prox