Bug 242708 - Requesting backport of upstream fix for bind_columns() to use return set_err(...) instead of die()
Summary: Requesting backport of upstream fix for bind_columns() to use return set_err(...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: perl-DBI
Version: 4.5
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Stepan Kasal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 246627
TreeView+ depends on / blocked
 
Reported: 2007-06-05 14:30 UTC by Martin Poole
Modified: 2018-10-19 23:20 UTC (History)
2 users (show)

Fixed In Version: RHBA-2008-0686
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-24 19:36:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
converted backport of upstream patch (646 bytes, patch)
2007-06-05 14:30 UTC, Martin Poole
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0686 0 normal SHIPPED_LIVE perl-DBI bug fix update 2008-07-23 15:47:02 UTC

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 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


Note You need to log in before you can comment on or make changes to this bug.