Skip Menu |
 

This queue is for tickets about the DBD-Firebird CPAN distribution.

Report information
The Basics
Id: 72946
Status: resolved
Priority: 0/
Queue: DBD-Firebird

People
Owner: MARIUZ [...] cpan.org
Requestors: rkitover [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.91
Fixed in: (no value)



Subject: ->do segfaults with an active statement
Download (untitled) / with headers
text/plain 645b
Creating a table with ->do causes a SEGV if there is an active statement. Will investigate further and maybe send pull request on github. Sample program: #!/usr/bin/perl use strict; use warnings; use DBI; my $dbh = DBI->connect(@ENV{map "DBICTEST_FIREBIRD_$_", qw/DSN USER PASS/}); my $sth = $dbh->prepare(<<'EOF'); SELECT rdb$relation_name FROM rdb$relations EOF $sth->execute; $dbh->do(<<"EOF"); CREATE TABLE test_segfault_$$ ( id INT PRIMARY KEY ) EOF END { $dbh->disconnect; $dbh = DBI->connect(@ENV{map "DBICTEST_FIREBIRD_$_", qw/DSN USER PASS/}); $dbh->do("DROP TABLE test_segfault_$$"); $dbh->disconnect; }
Download (untitled) / with headers
text/plain 116b
solved in version 1.11 https://github.com/mariuz/perl-dbd- firebird/commit/a9cfa465949e1736f5fb747efe1636f6e1bbffed


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.