Re: DBI makes apache fail in perl58.dll

2002-08-25 Thread pascal barbedor
> The following change fixes that, but now the trace filehandle is not cloned > anymore. That means you have to set the trace file in every thread and > cannot set it in the parent thread. > > DBI.xs line 223 > > change from > > DBIS->logfp = parent_dbis? fp_dup(parent_dbis->logfp,'>',0) : >

FW: CPAN Upload: J/JU/JURL/DBD-ODBC-0.45_16.tar.gz

2002-08-25 Thread Jeff Urlwin
Fixes a problem with output parameters and multiple result sets. Thanks to Roger Perttu for putting together a test for this. Added tests to t/20SQLServer.t to reflect this. The uploaded file DBD-ODBC-0.45_16.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JU/JURL/DBD-ODBC-0.45

Re: DBI runs on a Zaurus!

2002-08-25 Thread Jeff Zucker
Dean Arnold wrote: > PDA now means "Perl Digital Assistant" > > I finally scraped up some time on a gloomy Sunday here > in Seattle, Ah, didn't realize that you were just up the road (I'm in gloomy Portland). If you're ever down this way let me know or if you'd like to chat when I'm next u

DBI runs on a Zaurus!

2002-08-25 Thread Dean Arnold
PDA now means "Perl Digital Assistant" I finally scraped up some time on a gloomy Sunday here in Seattle, and got my Zaurus all config'd and WiFi'd, and then installed the nice little perl 5.6.1 distribution from http://www.frontgarden.net/~matthew/technical/zaurus/perl.html, ftp'd over DBI.pm, D

mysql insert and sorting

2002-08-25 Thread Michal Kurowski
Hi, I'm a newcomer on the list so please forgive me I hit an old bug ;-). I've a couple of hashes of arrays of arrays I need to insert to my sql tables. I pass them from subs to the main in order to do sql. Data in the tables are already sorted and are checked. When I do the insert I see someth

Re: $sel->CursorName does not exist

2002-08-25 Thread Michael A Chase
On Sun, 25 Aug 2002 10:38:32 -0700 David Wheeler <[EMAIL PROTECTED]> wrote: > On Friday, August 23, 2002, at 01:51 PM, Michael A Chase wrote: > > > Tim is off-line for the next couple weeks, so you might want to wait > > until > > he comes back to avoid any patches getting lost in the rush. >

Re: $sel->CursorName does not exist

2002-08-25 Thread David Wheeler
On Friday, August 23, 2002, at 01:51 PM, Michael A Chase wrote: > Tim is off-line for the next couple weeks, so you might want to wait > until > he comes back to avoid any patches getting lost in the rush. Yeah, I've found a number of inconsistencies in attributes. I'll collect all my notes,

Re: how to properly extend DBI class?

2002-08-25 Thread Michael A Chase
On Sun, 25 Aug 2002 13:27:32 +0200 "NYIMI Jose (BMB)" <[EMAIL PROTECTED]> wrote: > I didn't test the code I suggest below but may be this can provide you > Some new ideas: > > package Db; > > use base qw(DBI); > use strict; This is basically what John Coy was trying in the first place. It won

RE: how to properly extend DBI class?

2002-08-25 Thread NYIMI Jose (BMB)
To avoid dbh beeing distroyed without disconnection from DB, change the _init() sub like this (oups ! Super:: should be SUPER:: I guess :) sub _init{ my($self,@args) = @_; ref($self) || croak "$self is not an object\n"; #let DBI to make the connection and keep the dbh a

RE: how to properly extend DBI class?

2002-08-25 Thread NYIMI Jose (BMB)
I didn't test the code I suggest below but may be this can provide you Some new ideas: package Db; use base qw(DBI); use strict; # #Constructor # sub connect{ my($caller,@args) = @_; my $class=ref($self) || $caller; my $self={}; bless $sel