Re: DBI development visualisation

2011-05-16 Thread yanick
On Mon, May 16, 2011 at 08:23:55PM +0100, Tim Bunce wrote: > On Fri, May 13, 2011 at 07:07:31PM +0100, Martin J. Evans wrote: > > http://www.easysoft.com/dbi.avi > > ftp://ftp.easysoft.com/pub/dbi.avi > > > Cool. Thanks. > I needed to use VLC to watch it. > Any chance someone convert it to .mov?

Re: DBI development visualisation

2011-05-16 Thread Tim Bunce
On Fri, May 13, 2011 at 07:07:31PM +0100, Martin J. Evans wrote: > http://www.easysoft.com/dbi.avi > ftp://ftp.easysoft.com/pub/dbi.avi > > It is done with codeswarm which you can read about and get at > http://code.google.com/p/codeswarm/. It explains what the > visualisation is. Cool. Thanks. I

Re: Operations on statement handles when database handle is disconnected

2011-05-16 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > Drivers shouldn't croak() if it can be avoided. The right thing to do is > call set_err_sv() or set_err_char() then return &PL_sv_undef (or whatever's > appropriate for an error). Thanks, Tim, I've adjusted DBD::Pg to throw errors properly.

Re: Operations on statement handles when database handle is disconnected

2011-05-16 Thread Tim Bunce
On Sun, May 15, 2011 at 02:36:51PM -, Greg Sabino Mullane wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: RIPEMD160 > > > > Is this a defect in DBI or in DBD::Informix (and NullP)? > > Or is it WAD - Working As Designed? > > Not sure when this was added, but on DBD::Pg, an error is

Re: Operations on statement handles when database handle is disconnected

2011-05-16 Thread Martin J. Evans
On 15/05/11 13:08, Jonathan Leffler wrote: Tested using Perl 5.13.4 and DBI 1.616 now - but I originally spotted the problem in 2003 when the versions were a lot older... Consider: # Test that statement handles from disconnected connections fail! use strict; use warnings; use DBI; my $table =