]> granicus.if.org Git - apache/commitdiff
Merge r1311086 from trunk:
authorDaniel Gruno <humbedooh@apache.org>
Sun, 8 Apr 2012 20:40:13 +0000 (20:40 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Sun, 8 Apr 2012 20:40:13 +0000 (20:40 +0000)
Describe DBDInitSQL

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1311090 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_dbd.xml

index 74b1f4d219d6ab63bdaa24c80bcc10e2c87827bb..05de4a81ae630c895563ab73c2608786253b8c4b 100644 (file)
@@ -302,4 +302,19 @@ APR_DECLARE_OPTIONAL_FN(void, ap_dbd_prepare, (server_rec*, const char*, const c
 </usage>
 </directivesynopsis>
 
+<directivesynopsis>
+<name>DBDInitSQL</name>
+<description>Execute an SQL statement after connecting to a database</description>
+<syntax>DBDInitSQL <var>"SQL statement"</var></syntax>
+<contextlist><context>server config</context><context>virtual host</context>
+</contextlist>
+
+<usage>
+    <p>Modules, that wish it, can have one or more SQL statements 
+    executed when a connection to a database is created. Example 
+    usage could be initializing certain values or adding a log 
+    entry when a new connection is made to the database.</p>
+</usage>
+</directivesynopsis>
+
 </modulesynopsis>