On Tue, Sep 10, 2002 at 01:06:20PM -0400, Steven N. Hirsch wrote: > Tim, > > Ok, see how this strikes you. I have implemented everything you requested > (to the best of my knowledge.) The connection now defaults to the legacy > method (lazy prepare) unless one specifies the (proxy_lazy_prepare => 0) > attribute. > > The error handling scheme you suggested seems to work just fine - thanks. > > This hasn't had quite as much testing yet, but in strict accordance with > the dictates of that great sage, Linus Whats-his-name, I'm releasing early > and often <g>. > > Any suggestions as to how we might implement some tests against the new > connect scheme?
Not quite sure what you're asking here, but... It's always bugged me slightly that the proxy test (t/80proxy.t) was fixed rather than re-using the other tests in the way that the automated DBI::PurePerl pp_*.t tests do. I'd like to see an 81proxy.t that 'just' sets DBI_AUTOPROXY and then runs 10examp.t. That's bound to find all sorts of bugs :) Once working, the concept could be extended to other test files and other proxy attribute settings (with and without proxy_lazy_prepare, for example). Meanwhile... I've applied your patch. Thanks! Tim.
