diff options
author | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-22 06:43:38 +0000 |
---|---|---|
committer | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-22 06:43:38 +0000 |
commit | ec628f93db065b0def42a4096e6c8b32ef583223 (patch) | |
tree | 73457dae9fd4d035739a44b11801c2f964147c23 /include | |
parent | 0dc4b3ecae0a3add994d4f65b2824e57ac761cfa (diff) | |
download | libapr-util-ec628f93db065b0def42a4096e6c8b32ef583223.tar.gz |
Give MySQL DBD driver reconnect option.
PR 45407.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@678653 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/apr_dbd.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/include/apr_dbd.h b/include/apr_dbd.h index 0e25d024..f30977da 100644 --- a/include/apr_dbd.h +++ b/include/apr_dbd.h @@ -126,15 +126,16 @@ APU_DECLARE(apr_status_t) apr_dbd_get_driver(apr_pool_t *pool, const char *name, * keys, each followed by an equal sign and a value. Such key/value pairs can * be delimited by space, CR, LF, tab, semicolon, vertical bar or comma. * @remarks MySQL: the params can have "host", "port", "user", "pass", - * "dbname", "sock", "flags" "fldsz" and "group" keys, each followed by an - * equal sign and a value. Such key/value pairs can be delimited by space, - * CR, LF, tab, semicolon, vertical bar or comma. For now, "flags" can only - * recognise CLIENT_FOUND_ROWS (check MySQL manual for details). The value - * associated with "fldsz" determines maximum amount of memory (in bytes) for - * each of the fields in the result set of prepared statements. By default, - * this value is 1 MB. The value associated with "group" determines which - * group from configuration file to use (see MYSQL_READ_DEFAULT_GROUP option - * of mysql_options() in MySQL manual). + * "dbname", "sock", "flags" "fldsz", "group" and "reconnect" keys, each + * followed by an equal sign and a value. Such key/value pairs can be + * delimited by space, CR, LF, tab, semicolon, vertical bar or comma. For + * now, "flags" can only recognise CLIENT_FOUND_ROWS (check MySQL manual for + * details). The value associated with "fldsz" determines maximum amount of + * memory (in bytes) for each of the fields in the result set of prepared + * statements. By default, this value is 1 MB. The value associated with + * "group" determines which group from configuration file to use (see + * MYSQL_READ_DEFAULT_GROUP option of mysql_options() in MySQL manual). + * Reconnect is set to 1 by default (i.e. true). * @remarks FreeTDS: the params can have "username", "password", "appname", * "dbname", "host", "charset", "lang" and "server" keys, each followed by an * equal sign and a value. |