summaryrefslogtreecommitdiff
path: root/docs/manual/new_features_2_2.xml
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2005-09-23 10:56:07 +0000
committerNick Kew <niq@apache.org>2005-09-23 10:56:07 +0000
commit7f9e4fa4f95bf1f926fd690fd5c1329c48aafe09 (patch)
tree73be306dd8b53d8bf4e6eb9c7b05314318cba719 /docs/manual/new_features_2_2.xml
parent23a3c20db2ba540c8e3557772944c0513086f3ed (diff)
downloadhttpd-7f9e4fa4f95bf1f926fd690fd5c1329c48aafe09.tar.gz
Add note on DBD APIs to Module Developer Changes in new_features.
Update cast in mod_dbd.c as suggested by jorton. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291100 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/new_features_2_2.xml')
-rw-r--r--docs/manual/new_features_2_2.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/manual/new_features_2_2.xml b/docs/manual/new_features_2_2.xml
index f433c9cbc2..bb0d4a3a53 100644
--- a/docs/manual/new_features_2_2.xml
+++ b/docs/manual/new_features_2_2.xml
@@ -189,6 +189,20 @@
<code>regexec</code> and so on can be replaced by calls to
<code>ap_regcomp</code>, <code>ap_regcomp</code>.</dd>
+ <dt>DBD Framework (SQL Database API)</dt>
+
+ <dd><p>With Apache 1.x and 2.0, modules requiring an SQL backend
+ had to take responsibility for managing it themselves. Apart
+ from reinventing the wheel, this can be very inefficient, for
+ example when several modules each maintain their own connections.</p>
+ <p>Apache 2.1 and up provides the <code>ap_dbd</code> API for
+ managing database connections (including optimised strategies
+ for threaded and unthreaded MPMs), while APR 1.2 and up provides
+ the <code>apr_dbd</code> API for interacting with the database.</p>
+ <p>New modules SHOULD now use these APIs for all SQL database
+ operations. Existing applications SHOULD be upgraded to use it
+ where feasible, either transparently or as a recommended option
+ to their users.</p></dd>
</dl>
</section>
</manualpage>