From: André Malo
Date: Wed, 18 May 2005 17:26:38 +0000 (+0000)
Subject: update transformation
X-Git-Tag: 2.1.5~91
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35aee92aaabaa8ea6fb20a2803ad2fb6b14d4d21;p=apache
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170780 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/allmodules.xml b/docs/manual/mod/allmodules.xml
index 6742eaa740..26b54c8672 100644
--- a/docs/manual/mod/allmodules.xml
+++ b/docs/manual/mod/allmodules.xml
@@ -27,6 +27,7 @@
mod_dav.xml
mod_dav_fs.xml
mod_dav_lock.xml
+ mod_dbd.xml
mod_deflate.xml
mod_dir.xml
mod_disk_cache.xml
diff --git a/docs/manual/mod/allmodules.xml.de b/docs/manual/mod/allmodules.xml.de
index 0ef2f06fb3..623d205982 100644
--- a/docs/manual/mod/allmodules.xml.de
+++ b/docs/manual/mod/allmodules.xml.de
@@ -27,6 +27,7 @@
mod_dav.xml
mod_dav_fs.xml
mod_dav_lock.xml
+ mod_dbd.xml
mod_deflate.xml
mod_dir.xml
mod_disk_cache.xml
diff --git a/docs/manual/mod/allmodules.xml.es b/docs/manual/mod/allmodules.xml.es
index c4fe9a51ef..725cb14c37 100644
--- a/docs/manual/mod/allmodules.xml.es
+++ b/docs/manual/mod/allmodules.xml.es
@@ -27,6 +27,7 @@
mod_dav.xml
mod_dav_fs.xml
mod_dav_lock.xml
+ mod_dbd.xml
mod_deflate.xml
mod_dir.xml
mod_disk_cache.xml
diff --git a/docs/manual/mod/allmodules.xml.ja b/docs/manual/mod/allmodules.xml.ja
index 0d91020fb3..17bf5ea91d 100644
--- a/docs/manual/mod/allmodules.xml.ja
+++ b/docs/manual/mod/allmodules.xml.ja
@@ -27,6 +27,7 @@
mod_dav.xml.ja
mod_dav_fs.xml.ja
mod_dav_lock.xml.ja
+ mod_dbd.xml
mod_deflate.xml.ja
mod_dir.xml.ja
mod_disk_cache.xml.ja
diff --git a/docs/manual/mod/allmodules.xml.ko b/docs/manual/mod/allmodules.xml.ko
index 3590070569..2a3bfab2f0 100644
--- a/docs/manual/mod/allmodules.xml.ko
+++ b/docs/manual/mod/allmodules.xml.ko
@@ -27,6 +27,7 @@
mod_dav.xml.ko
mod_dav_fs.xml.ko
mod_dav_lock.xml
+ mod_dbd.xml
mod_deflate.xml.ko
mod_dir.xml.ko
mod_disk_cache.xml.ko
diff --git a/docs/manual/mod/directives.html.de b/docs/manual/mod/directives.html.de
index c32e08c486..3cdc5ab174 100644
--- a/docs/manual/mod/directives.html.de
+++ b/docs/manual/mod/directives.html.de
@@ -147,6 +147,14 @@
DavGenericLockDB
DavLockDB
DavMinTimeout
+DBDExptime
+DBDKeep
+DBDMax
+DBDMin
+DBDParams
+DBDPersist
+DBDPrepareSQL
+DBDriver
DefaultIcon
DefaultLanguage
DefaultType
diff --git a/docs/manual/mod/directives.html.en b/docs/manual/mod/directives.html.en
index c37e8709a5..1f09bc9f02 100644
--- a/docs/manual/mod/directives.html.en
+++ b/docs/manual/mod/directives.html.en
@@ -148,6 +148,14 @@
DavGenericLockDB
DavLockDB
DavMinTimeout
+DBDExptime
+DBDKeep
+DBDMax
+DBDMin
+DBDParams
+DBDPersist
+DBDPrepareSQL
+DBDriver
DefaultIcon
DefaultLanguage
DefaultType
diff --git a/docs/manual/mod/directives.html.es b/docs/manual/mod/directives.html.es
index 5f84c62eb1..71ab7ac99e 100644
--- a/docs/manual/mod/directives.html.es
+++ b/docs/manual/mod/directives.html.es
@@ -150,6 +150,14 @@
DavGenericLockDB
DavLockDB
DavMinTimeout
+DBDExptime
+DBDKeep
+DBDMax
+DBDMin
+DBDParams
+DBDPersist
+DBDPrepareSQL
+DBDriver
DefaultIcon
DefaultLanguage
DefaultType
diff --git a/docs/manual/mod/directives.html.ja.euc-jp b/docs/manual/mod/directives.html.ja.euc-jp
index f29bcc5e02..729b6b22e0 100644
--- a/docs/manual/mod/directives.html.ja.euc-jp
+++ b/docs/manual/mod/directives.html.ja.euc-jp
@@ -144,6 +144,14 @@
DavGenericLockDB
DavLockDB
DavMinTimeout
+DBDExptime
+DBDKeep
+DBDMax
+DBDMin
+DBDParams
+DBDPersist
+DBDPrepareSQL
+DBDriver
DefaultIcon
DefaultLanguage
DefaultType
diff --git a/docs/manual/mod/directives.html.ko.euc-kr b/docs/manual/mod/directives.html.ko.euc-kr
index acc12052e4..ce1d881c07 100644
--- a/docs/manual/mod/directives.html.ko.euc-kr
+++ b/docs/manual/mod/directives.html.ko.euc-kr
@@ -142,6 +142,14 @@
DavGenericLockDB
DavLockDB
DavMinTimeout
+DBDExptime
+DBDKeep
+DBDMax
+DBDMin
+DBDParams
+DBDPersist
+DBDPrepareSQL
+DBDriver
DefaultIcon
DefaultLanguage
DefaultType
diff --git a/docs/manual/mod/index.html.de b/docs/manual/mod/index.html.de
index 3510b8e0df..ec8ac728a9 100644
--- a/docs/manual/mod/index.html.de
+++ b/docs/manual/mod/index.html.de
@@ -108,6 +108,7 @@ address)
(WebDAV ) functionality
mod_dav_fs filesystem provider for mod_dav
mod_dav_lock generic locking module for mod_dav
+mod_dbd Manages SQL database connections
mod_deflate Compress content before it is delivered to the
client
mod_dir Provides for "trailing slash" redirects and
diff --git a/docs/manual/mod/index.html.en b/docs/manual/mod/index.html.en
index f1b7030487..164c136701 100644
--- a/docs/manual/mod/index.html.en
+++ b/docs/manual/mod/index.html.en
@@ -106,6 +106,7 @@ address)
(WebDAV ) functionality
mod_dav_fs filesystem provider for mod_dav
mod_dav_lock generic locking module for mod_dav
+mod_dbd Manages SQL database connections
mod_deflate Compress content before it is delivered to the
client
mod_dir Provides for "trailing slash" redirects and
diff --git a/docs/manual/mod/index.html.es b/docs/manual/mod/index.html.es
index 812c08544c..678bf69cea 100644
--- a/docs/manual/mod/index.html.es
+++ b/docs/manual/mod/index.html.es
@@ -109,6 +109,7 @@ address)
(WebDAV ) functionality
mod_dav_fs filesystem provider for mod_dav
mod_dav_lock generic locking module for mod_dav
+mod_dbd Manages SQL database connections
mod_deflate Compress content before it is delivered to the
client
mod_dir Provides for "trailing slash" redirects and
diff --git a/docs/manual/mod/index.html.ja.euc-jp b/docs/manual/mod/index.html.ja.euc-jp
index 65f60a2b70..7b08b58365 100644
--- a/docs/manual/mod/index.html.ja.euc-jp
+++ b/docs/manual/mod/index.html.ja.euc-jp
@@ -101,6 +101,7 @@ for HTTP Basic authentication.
(WebDAV ) µ¡Ç½
mod_dav_fs mod_dav
¤Î¤¿¤á¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥×¥í¥Ð¥¤¥À
mod_dav_lock mod_dav
ÍѤÎÈÆÍÑ¥í¥Ã¥¯¥â¥¸¥å¡¼¥ë
+mod_dbd Manages SQL database connections
mod_deflate ¥¯¥é¥¤¥¢¥ó¥È¤ØÁ÷¤é¤ì¤ëÁ°¤Ë¥³¥ó¥Æ¥ó¥Ä¤ò°µ½Ì¤¹¤ë
mod_dir ¡ÖºÇ¸å¤Î¥¹¥é¥Ã¥·¥å¡×¤Î¥ê¥À¥¤¥ì¥¯¥È¤È¡¢¥Ç¥£¥ì¥¯¥È¥ê¤Î
¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë¤ò°·¤¦µ¡Ç½¤òÄ󶡤¹¤ë
diff --git a/docs/manual/mod/index.html.ko.euc-kr b/docs/manual/mod/index.html.ko.euc-kr
index bf4a6be20b..8acb4462a2 100644
--- a/docs/manual/mod/index.html.ko.euc-kr
+++ b/docs/manual/mod/index.html.ko.euc-kr
@@ -96,6 +96,7 @@ for HTTP Basic authentication.
(WebDAV ) ±â´É
mod_dav_fs mod_dav
À» À§ÇÑ ÆÄÀϽýºÅÛ Á¦°øÀÚ
mod_dav_lock generic locking module for mod_dav
+mod_dbd Manages SQL database connections
mod_deflate ³»¿ëÀ» Ŭ¶óÀÌ¾ðÆ®·Î º¸³»±â Àü¿¡ ¾ÐÃàÇÑ´Ù
mod_dir "¸¶Áö¸· ½½·¡½¬" ¸®´ÙÀÌ·º¼ÇÀ» Á¦°øÇÏ°í µð·ºÅ丮
index ÆÄÀÏÀ» ¼ºñ½ºÇÑ´Ù
diff --git a/docs/manual/mod/mod_dbd.html.en b/docs/manual/mod/mod_dbd.html.en
index fc085ba63d..fef43f4c26 100644
--- a/docs/manual/mod/mod_dbd.html.en
+++ b/docs/manual/mod/mod_dbd.html.en
@@ -1,21 +1,21 @@
-
mod_dbd - Apache HTTP Server
-
-
-
-
+
+
+
+
-
+
+
@@ -30,7 +30,7 @@
Compatibility: Version 2.1 and higher
Summary
-
mod_dbd manages SQL database connections using
+
mod_dbd
manages SQL database connections using
apr_dbd .
It provides database connections on request to modules
requiring SQL database functions, and takes care of
@@ -39,38 +39,39 @@
-
+
-
+
This module manages database connections, in a manner
optimised for the platform. On non-threaded platforms,
it provides a persistent connection in the manner of
classic LAMP (Linux, Apache, Mysql, Perl/PHP/Python).
On threaded platform, it provides an altogether more
scalable and efficient connection pool , as
- described in this article at ApacheTutor .
- mod_dbd supersedes the modules presented in that article.
-
+ described in this article at ApacheTutor . mod_dbd
supersedes
+ the modules presented in that article.
+
-
-
mod_dbd exports three functions for other modules to use.
- The API is as follows:
-
typedef struct {
+
+ mod_dbd
exports three functions for other modules
+ to use. The API is as follows:
+
+ typedef struct {
apr_dbd_t *handle;
apr_dbd_driver_t *driver;
apr_hash_t *prepared;
@@ -95,23 +96,23 @@ AP_DECLARE(ap_dbd_t*) ap_dbd_acquire(request_rec*);
/* Also export them as optional functions for modules that prefer it */
APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_open, (apr_pool_t*, server_rec*));
APR_DECLARE_OPTIONAL_FN(void, ap_dbd_close, (server_rec*, ap_dbd_t*));
-APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
-
-
+APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
+
-
-
mod_dbd supports SQL prepared statements on behalf of
- modules that may wish to use them. Each prepared statement
+
+
mod_dbd
supports SQL prepared statements on behalf
+ of modules that may wish to use them. Each prepared statement
must be assigned a name (label), and they are stored in a hash:
the prepared
field of an ap_dbd_t
.
Hash entries are of type apr_dbd_prepared_t
and can be used in any of the apr_dbd prepared statement
SQL query or select commands.
+
It is up to dbd user modules to use the prepared statements
and document what statements can be specified in httpd.conf.
-
-
+
+
Description: Keepalive time for idle connections
Syntax: DBDExptime time-in-seconds
@@ -124,8 +125,8 @@ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
platforms only).
-
-
+
+
Description: Maximum sustainednumber of connections
Syntax: DBDKeep number
@@ -138,8 +139,8 @@ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
platforms only).
-
-
+
+
Description: Maximum number of connections
Syntax: DBDMax number
@@ -151,8 +152,8 @@ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
(threaded platforms only).
-
-
+
+
Description: Minimum number of connections
Syntax: DBDMin number
@@ -164,11 +165,12 @@ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
platforms only).
-
-
+
+
Description: Parameters for database connection
-Syntax: DBDParams param1=value1,param2=value2
+Syntax: DBDParams
+param1 =value1 [,param2 =value2 ]
Context: server config, virtual host
Status: Experimental
Module: mod_dbd
@@ -178,11 +180,11 @@ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
password, database name, hostname and port number for connection.
-
-
+
+
Description: Whether to use persistent connections
-Syntax: DBDPersist [0|1]
+Syntax: DBDPersist 0|1
Context: server config, virtual host
Status: Experimental
Module: mod_dbd
@@ -191,13 +193,14 @@ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
A new database connection is opened when requested by a client,
and closed immediately on release. This option is for debugging
and low-usage servers.
+
The default is to enable a pool of persistent connections
(or a single LAMP-style persistent connection in the case of a
non-threaded server), and should almost always be used in operation.
-
-
+
+
Description: Define an SQL prepared statement
Syntax: DBDPrepareSQL "SQL statement" label
@@ -211,8 +214,8 @@ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
This directive prepares an SQL statement and assigns it a label.
-
-
+
+
Description: Specify an SQL driver
Syntax: DBDriver name
@@ -232,4 +235,4 @@ APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*));
-