Bug 187873
Summary: | SEGV when accessing $sth->{TYPE}->[$i] for a VIEW | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nigel Metheringham <nigel> | ||||
Component: | perl-DBD-SQLite | Assignee: | Jose Pedro Oliveira <jose.p.oliveira.oss> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5 | CC: | extras-qa | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
URL: | http://rt.cpan.org/Public/Bug/Display.html?id=12347 | ||||||
Whiteboard: | |||||||
Fixed In Version: | perl-DBD-SQLite-1.12-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-04-12 15:14:19 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Nigel Metheringham
2006-04-04 07:50:49 UTC
Created attachment 127276 [details]
Workround patch for SEGV in type
Imported and build for devel. SRPM and build logs available here: http://buildsys.fedoraproject.org/logs/fedora-development-extras/7258-perl-DBD-SQLite-1.11-4.fc6/ Patch still needed with DBD::SQLite 1.12. Without the patch in comment #1 the following script still crashes when accesing the TYPE information. ---------- #!/usr/bin/perl -w use strict; use DBI; my $dbh = DBI->connect("dbi:SQLite:dbname=foo", "", ""); my $sth = $dbh->prepare("SELECT * FROM f"); $sth->execute(); $sth->fetch(); my $types = $sth->{TYPE}; my $names = $sth->{NAME}; print "# Names: @$names\n"; print "# Types: @$types\n"; $sth->finish; $dbh->disconnect; ---------- perl-DBD-SQLite-1.12-1 built for FC-5 and devel. |