[Mod_log_sql] 1-domain.net cannot be logged

Thomas Goirand thomas at goirand.fr
Fri Dec 2 11:07:24 EST 2005


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




More information about the Mod_log_sql mailing list