Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170245 Details for
Bug 244911
sys-auth/nsvs-20070407: multiple bugs: getgrent skips group w/ many members, last group, & reconnect problem
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Manual reconnect code
nsvs-fix-nsvsd-reconnect.patch (text/plain), 812 bytes, created by
noah
on 2008-10-29 18:35:04 UTC
(
hide
)
Description:
Manual reconnect code
Filename:
MIME Type:
Creator:
noah
Created:
2008-10-29 18:35:04 UTC
Size:
812 bytes
patch
obsolete
>--- src/nsvsd/nsvsd.c 2007-04-07 16:43:32.000000000 -0700 >+++ src/nsvsd/nsvsd.c 2008-10-24 12:00:25.000000000 -0700 >@@ -188,7 +188,13 @@ > /* Run the query */ > if (mysql_query (&connections[th_num].mysql, query)) > { >- nsvs_log (LOG_ALERT, "%s (%d): mysql_query: %s", __FUNCTION__, th_num, >+ /* Reconnect did not happen/work, run the query again. */ >+ if (mysql_errno (&connections[th_num].mysql) == 2013) { >+ nsvs_log (LOG_ALERT, "%s (%d): mysql_query: %s, retrying...", __FUNCTION__, th_num, >+ mysql_error (&connections[th_num].mysql)); >+ return run_query(type, key, th_num); >+ } >+ nsvs_log (LOG_ALERT, "%s (%d): mysql_query: %s, failed...", __FUNCTION__, th_num, > mysql_error (&connections[th_num].mysql)); > return 0; > }
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 244911
:
170244
| 170245