FreeBSD Bugzilla – Attachment 139350 Details for
Bug 185585
[PATCH] www/mod_log_mysql - new MASTER_SITES, new maintainer, new version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 593 bytes, created by
Chris Hutchinson
on 2014-01-08 16:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Chris Hutchinson
Created:
2014-01-08 16:20:01 UTC
Size:
593 bytes
patch
obsolete
>--- mod_log_mysql.c 2014-01-07 18:35:25.910689055 -0800 >+++ mod_log_mysql.c.new 2014-01-07 18:35:40.854250876 -0800 >@@ -186,11 +186,13 @@ > { > mysql_log *l = param; > MYSQL *db; >+ my_bool do_reconnect = 1; > > db = apr_palloc(p, sizeof(MYSQL)); > > mysql_init(db); > mysql_options(db, MYSQL_READ_DEFAULT_GROUP, "mod_log_mysql"); >+ mysql_options(db, MYSQL_OPT_RECONNECT,&do_reconnect); > > if (! mysql_real_connect(db, l->host, l->user, l->passwd, l->database, l->port, l->socket, 0)) { > ap_log_perror(APLOG_MARK, APLOG_CRIT, 0, p, "log database %s: %s", l->uri, mysql_error(db));
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 185585
: 139350 |
139351
|
139352
|
139353
|
139354
|
139355
|
139356
|
139357