Re: 1-domain.net cannot be logged

Thomas Goirand <thomas-/[email protected]> Fri, 02 Dec 2005 17:07:24 +0100
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
Hello !

It seems that when you have a domain called "1-domain.com" for example, 
then the INSERT INGNORE query wont work, because mysql will try to make 
the operation 1 minus domain.com (it will fail and do nothing). Same 
apply for the automatic table creation. In production, I've created the 
table "by hand" and patched mod_log_sql2 to have the table name escaping 
using backquotes. It then works.

Could we have the backquotes added for table names for next release?

Thomas

_______________________________________________
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