Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 156226 Details for
Bug 242708
Requesting backport of upstream fix for bind_columns() to use return set_err(...) instead of die()
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
converted backport of upstream patch
perl-DBI-bind_columns.patch (text/plain), 646 bytes, created by
Martin Poole
on 2007-06-05 14:30:56 UTC
(
hide
)
Description:
converted backport of upstream patch
Filename:
MIME Type:
Creator:
Martin Poole
Created:
2007-06-05 14:30:56 UTC
Size:
646 bytes
patch
obsolete
>--- DBI-1.40/DBI.xs.bind_columns 2007-06-05 13:13:08.000000000 +0100 >+++ DBI-1.40/DBI.xs 2007-06-05 13:35:12.000000000 +0100 >@@ -3575,8 +3575,12 @@ > DBD_ATTRIBS_CHECK("bind_columns", sth, attribs); > skip = 1; > } >- if (items-(1+skip) != fields) >- croak("bind_columns called with %ld refs when %d needed.", items-(1+skip), fields); >+ if (items-(1+skip) != fields) { >+ sv_setiv(DBIc_ERR(imp_sth), 1); >+ sv_setpvf(DBIc_ERRSTR(imp_sth), >+ "bind_columns called with %ld refs when %d needed.", items-(1+skip), fields); >+ XSRETURN_UNDEF; >+ } > colsv = sv_2mortal(newSViv(0)); > for(i=1; i < items-skip; ++i) { > sv_setiv(colsv, i);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242708
: 156226