Re: Funny table names patch

Edward Rudd <[email protected]> Sat, 3 May 2008 08:55:11 -0400
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
On May 3, 2008, at 5:15 AM, Thomas Goirand wrote:

> Thomas Goirand wrote:
>
> More generally speaking, mod_log_sql builds queries with the general
> code (eg: mod_log_sql.c) when I think this should be done in the  
> drivers
> maybe. Your thoughts?
>

I agree with you on that one.   Been trying to figure out how to  
cleanly implement that.  Especially with backend drivers like DBI and  
the new apache 2.2 apr_dbd backend which are "general" backend in  
them selves.   I'd need to have an exrta configuration parameter to  
specify the database syntax to use, OR hope all DB backends have two  
escaping functions. one for strings and one for identifiers (like  
table names and field names).
_______________________________________________
Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/

To unsubscribe send an e-mail to 
mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org