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 295545 Details for
Bug 225127
DBD::MySQL Auto-Reconnect Bug Not Fixed
[?]
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]
the patch from 2.9006
perl-DBD-mysql-reconnect.patch (text/plain), 1.38 KB, created by
Stepan Kasal
on 2008-02-21 17:35:13 UTC
(
hide
)
Description:
the patch from 2.9006
Filename:
MIME Type:
Creator:
Stepan Kasal
Created:
2008-02-21 17:35:13 UTC
Size:
1.38 KB
patch
obsolete
>2005-04-04 Rudolf Lippan <rlippan@remotelinux.com> (2.9006) > * Fixed a bug in mysql_auto_reconnect whereby only the fist reconnect > would take place. The setting of mysql_auto_reconnect was getting > reset to the default of false during the reconnect. > >Index: dbdimp.c >=================================================================== >--- dbdimp.c (revision 1265) >+++ dbdimp.c (working copy) >@@ -881,10 +881,6 @@ > > if (imp_dbh) { > SV* sv = DBIc_IMP_DATA(imp_dbh); >- imp_dbh->bind_type_guessing = FALSE; >- imp_dbh->has_transactions = TRUE; >- imp_dbh->auto_reconnect = FALSE; /* Safer we flip this to TRUE perl side >- if we detect a mod_perl env. */ > > DBIc_set(imp_dbh, DBIcf_AutoCommit, &sv_yes); > if (sv && SvROK(sv)) { >@@ -1119,6 +1115,11 @@ > imp_dbh->stats.auto_reconnects_ok = 0; > imp_dbh->stats.auto_reconnects_failed = 0; > >+ imp_dbh->bind_type_guessing = FALSE; >+ imp_dbh->has_transactions = TRUE; >+ imp_dbh->auto_reconnect = FALSE; /* Safer we flip this to TRUE perl side >+ if we detect a mod_perl env. */ >+ > if (!_MyLogin(imp_dbh)) { > do_error(dbh, mysql_errno(&imp_dbh->mysql), > mysql_error(&imp_dbh->mysql)); > >Property changes on: dbdimp.c >___________________________________________________________________ >Name: cvs2svn:cvs-rev > - 1.25 > + 1.26 >
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 225127
: 295545