Hi Thomas, I could reproduce this error. It's a bug in DBD::MaxDB driver. An update of the driver containing a bugfix will be available on CPAN in a few days.
Thank you for reporting, especially for the testcase. Regards, Marco > -----Original Message----- > From: Thomas Zake [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 13. September 2005 09:35 > To: maxdb@lists.mysql.com > Subject: Segmentation fault with DBD::MaxDB > > Hi, > > I'v got an segmentation fault with the folling code example, > using it with > DBD::MaxDB: > > #!/usr/bin/perl > use strict; > use warnings; > use DBI; > my $dbh = DBI->connect("dbi:MaxDB:.....",...); > my $username = "SYS"; > my $sth3 = $dbh->prepare("Select indexname From indexes > Where owner = ? And tablename = ?"); > my $sth2 = $dbh->prepare("Select columnname From columns > Where owner = ? And tablename = ?"); > my $sth1 = $dbh->prepare("Select tablename From tables > Where owner = ?"); > $sth1->execute( $username ); > while ( my ( $tablename ) = $sth1->fetchrow_array ) { > $sth2->execute( $username, $tablename ); > $sth3->execute( $username, $tablename ); > } > $sth3->finish; > $sth2->finish; > $sth1->finish; > $dbh->disconnect; > > If I set $username="SUPERDBA", everything works fine. > > I use in on SuSE 9.3 with MaxDB 7.5.21 and DBD::MaxDB 7.5.30 with > SQLDBC-7.5.00.30. The same occurs with DBD::MaxDB 7.5.31a and > SQLDBC-6.6.00.12. > > With DBD::ODBC everythings works fine, too. > > Any ideas? > > Kind regards > Thomas > > > > > > -- > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: > http://lists.mysql.com/[EMAIL PROTECTED] > > -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]