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: [email protected]
ReportedBy: [email protected]
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/[email protected]/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: [email protected]
For additional commands, e-mail: [email protected]