httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46827] New: Execute some SQL statement after database connection has been established
Date Tue, 10 Mar 2009 09:30:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46827

           Summary: Execute some SQL statement after database connection
                    has been established
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_dbd
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mkevac@gmail.com


Created an attachment (id=23365)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23365)
add DBDInitSQL parameter to mod_dbd

Usually, after connection to DB has been established, user has to execute some
initialization statement.

For example this one:

SET NAMES 'utf8';

Attached patch adds configuration parameter DBDInitSQL, which enables user to
specify which statement(s) to execute after connection has been established.

Same like parameter for prepared statements:

DBDInitSQL "SET NAMES 'utf8'" label

This patch is part of major change to mod_dbd concerning DBDPool-s. See
http://www.mail-archive.com/dev@httpd.apache.org/msg42922.html

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message