https://issues.apache.org/bugzilla/show_bug.cgi?id=46827


Marko Kevac <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23379|0                           |1
        is obsolete|                            |




--- Comment #3 from Marko Kevac <[email protected]>  2009-04-12 08:34:01 PST ---
Created an attachment (id=23482)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23482)
main patch

This patch adds ability to the mod_dbd Apache module to execute any SQL
statements after DB connection have been established.

Patch is against httpd trunk.

Configuration example:

        DBDriver mysql
        DBDParams host=localhost,user=root,reconnect=0
        DBDPersist On
        DBDInitSQL "USE passport"
        DBDInitSQL "SET NAMES utf8"
        DBDMin 1

Order of the DBDInitSQL statements is preserved (statements will be executed in
same order they were in httpd.conf file).

Also this patch introduces optional post_connection hook, which enables any
other module to hook after connection were established.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to