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] Execute some SQL statement after database connection has been established
Date Thu, 26 Mar 2009 18:30:28 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46827





--- Comment #2 from Chris Darroch <chrisd@pearsoncmg.com>  2009-03-26 11:30:26 PST ---
Comments from Ronald Park on dev@httpd.apache.org:
(http://marc.info/?l=apache-httpd-dev&m=123792143900952&w=2)

I think this is an excellent set of patches.  I had developed a similar
enhancement to allow mod_dbd to connect with multiple databases at my last job
but never had a chance to make it available here.  Your version is far more
clever and configurable.

I did have one minor nit to pick with the implementation of the DBDInitSQL
command.  A user might presume that the order of commands listed in the config
file would be preserved when the commands are run.  By using a hash table,
you'll likely get a random order causing problems.  For example, perhaps the
user needs to first load one table then choose a subset from that first table
to file another; if you run them in the reserve order, the second table will
likely be empty. :(

If you choose not to change the implementation, then the documentation should
make this clear.

-- 
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