Bug 242708

Summary: Requesting backport of upstream fix for bind_columns() to use return set_err(...) instead of die()
Product: Red Hat Enterprise Linux 4 Reporter: Martin Poole <mpoole>
Component: perl-DBIAssignee: Stepan Kasal <kasal>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: perl-maint-list, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0686 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:36:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 246627    
Attachments:
Description Flags
converted backport of upstream patch none

Description Martin Poole 2007-06-05 14:30:54 UTC
Description of problem:

Requesting backport of upstream fix for bind_columns() to use return
set_err(...) instead of die()

Version-Release number of selected component (if applicable):

perl-DBI-1.40-8

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Upstream has bind_columns() in DBD.pm, whereas 1.40 is encoded in DBD.xs.
Attached patch is attempt at eqivalent patch to upstream patch
http://svn.perl.org/viewcvs/modules/dbi/trunk/DBI.pm?view=patch&r1=2492&r2=2491&pathrev=2492

Comment 1 Martin Poole 2007-06-05 14:30:56 UTC
Created attachment 156226 [details]
converted backport of upstream patch

Comment 2 Robin Norwood 2007-06-13 21:20:54 UTC
Hi Martin,

Me again - do we have a reproducer/test case for this issue, so I can verify
what the patch fixes?

Comment 3 Issue Tracker 2007-07-23 13:56:48 UTC
use DBI;

my $dbh = DBI->connect("dbi:Pg:dbname=template1");

my $sth = $dbh->prepare("select * from pg_tables");

my $d = $sth->bind_columns(@cols);


Internal Status set to 'Waiting on Engineering'

This event sent from IssueTracker by mpoole 
 issue 122900

Comment 4 RHEL Product and Program Management 2008-02-01 19:07:15 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 9 errata-xmlrpc 2008-07-24 19:36:03 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0686.html